]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use if_printf(ifp, "blah") instead of printf("fe%d: blah", ifp->if_unit).
authorBrooks Davis <brooks@FreeBSD.org>
Tue, 1 Oct 2002 00:52:58 +0000 (00:52 +0000)
committerBrooks Davis <brooks@FreeBSD.org>
Tue, 1 Oct 2002 00:52:58 +0000 (00:52 +0000)
commitaf98feb19ca817b26a34aa7761305c94fed71425
tree4c4f83f9f0d7e8a6c1b82691a0570c357fcbfb19
parent38d896912244bc1884e4ad72bfe523d66d162432
Use if_printf(ifp, "blah") instead of printf("fe%d: blah", ifp->if_unit).

A number of functions in this driver still use the unit number in their
printouts because they pass the unit directly as a function argument
instead of passing a softc or struct ifnet pointer.  This should be
resolved at a future date.
sys/dev/fe/if_fe.c