[Bug 254289] libifconfig_bridge.c causes a compilation error during `make buildworld`

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 14 20:25:22 UTC 2021


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

            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 at FreeBSD.org
          Reporter: christos at christosmarg.xyz

Created attachment 223268
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223268&action=edit
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 = { 0 };

to

struct ifdrv ifd = { };

and the compilation finished successfully.

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


More information about the freebsd-bugs mailing list