[Bug 237753] base system build fails if WITHOUT_INET6=yes due to unused variable in nfsdumpstate.c

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun May 5 10:09:48 UTC 2019


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: bugs at FreeBSD.org
          Reporter: phascolarctos at 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.


More information about the freebsd-bugs mailing list