Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 2021 20:25:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 254289] libifconfig_bridge.c causes a compilation error during `make buildworld`
Message-ID:  <bug-254289-227@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 254289
           Summary: libifconfig_bridge.c causes a compilation error during
                    `make buildworld`
           Product: Base System
           Version: 12.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: christos@christosmarg.xyz

Created attachment 223268
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D223268&action=
=3Dedit
Line 54 fix

A compilation error was caused by
`/usr/src/lib/libifconfig/libifconfig_bridge.c` during `make buildworld`.
Unfortunately I forgot to copy the original error message, but the compiler
complained that on line 54 there should be empty braces instead of { 0 }.

So I changed:

struct ifdrv ifd =3D { 0 };

to

struct ifdrv ifd =3D { };

and the compilation finished successfully.

--=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-254289-227>