https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237753

            Bug ID: 237753
           Summary: base system build fails if WITHOUT_INET6=yes due to
                    unused variable in nfsdumpstate.c
           Product: Base System
           Version: 12.0-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: b...@freebsd.org
          Reporter: phascolarc...@protonmail.ch

Created attachment 204224
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204224&action=edit
nfsdumpstate.c - define nbuf only if INET6 is defined

If WITHOUT_INET6 is set to "yes" the base system build fails due to an unused
variable into nsfdumpstate.c (char nbuf[INET6_ADDRSTRLEN]), which is defined in
two different functions: I propose a patch that declares the variable only if
INET6 is defined.

I tested successfully with 12.0-Stable r347145.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to