Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Feb 2006 14:27:28 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-current@freebsd.org
Subject:   Re: Buildworld broken on amd64
Message-ID:  <20060214222728.GA26432@troutmask.apl.washington.edu>
In-Reply-To: <20060214220119.GA99615@troutmask.apl.washington.edu>
References:  <20060214220119.GA99615@troutmask.apl.washington.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Feb 14, 2006 at 02:01:19PM -0800, Steve Kargl wrote:
> cc -O2 -fno-strict-aliasing -pipe -march=opteron -Wall -Wmissing-prototypes -Wcast-qual -Wwrite
> -strings -Wnested-externs -DRESCUE  -c /usr/src/sbin/ifconfig/ifmedia.c
> /usr/src/sbin/ifconfig/ifmedia.c:345: error: `IFM_10GBASE_SR' undeclared here (not in a functio

Sigh.  It was a gratuitious change of a name in a header file
where the committer obviously did no testing.

--- if_media.h.orig     Tue Feb 14 14:25:37 2006
+++ if_media.h  Tue Feb 14 14:25:54 2006
@@ -328,8 +328,8 @@
        { IFM_1000_T,   "1000baseTX" },                                 \
        { IFM_1000_T,   "1000baseT" },                                  \
        { IFM_HPNA_1,   "homePNA" },                                    \
-       { IFM_10GBASE_SR, "10GBASE-SR" },                               \
-       { IFM_10GBASE_LR, "10GBASE-LR" },                               \
+       { IFM_10G_SR, "10GBASE-SR" },                           \
+       { IFM_10G_LR, "10GBASE-LR" },                           \
        { 0, NULL },                                                    \
 }


-- 
Steve



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