Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 May 2019 10:09:45 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 237753] base system build fails if WITHOUT_INET6=yes due to unused variable in nfsdumpstate.c
Message-ID:  <bug-237753-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237753

            Bug ID: 237753
           Summary: base system build fails if WITHOUT_INET6=3Dyes 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@FreeBSD.org
          Reporter: phascolarctos@protonmail.ch

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

If WITHOUT_INET6 is set to "yes" the base system build fails due to an unus=
ed
variable into nsfdumpstate.c (char nbuf[INET6_ADDRSTRLEN]), which is define=
d 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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237753-227>