Date: Thu, 22 Oct 1998 09:16:42 -0700 (PDT) From: Michael Enkelis <michaele@enky.mxim.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/8409: Small code cleanup in xl driver Message-ID: <199810221616.JAA01072@enky.mxim.com>
next in thread | raw e-mail | index | archive | help
>Number: 8409
>Category: kern
>Synopsis: Small code cleanup in xl driver
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 22 09:20:00 PDT 1998
>Last-Modified:
>Originator: Michael Enkelis
>Organization:
none
>Release: FreeBSD 3.0-CURRENT i386
>Environment:
N/A
>Description:
Invalid "C" syntax in if_xl.c
There should be a "," between "0 NULL"
and the ":" at end of line should be ";"
>How-To-Repeat:
compile with "FORCE_AUTONEG_TFOUR" defined.
>Fix:
On line #986 of /usr/src/sys/pci/if_xl.c:
ifmedia_add(&sc->ifmedia, IFM_ETHER|IFM_AUTO, 0 NULL):
^ ^
Change to:
ifmedia_add(&sc->ifmedia, IFM_ETHER|IFM_AUTO, 0, NULL);
>Audit-Trail:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810221616.JAA01072>
