summaryrefslogtreecommitdiff
path: root/sys/dev/xe
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2002-10-01 01:03:02 +0000
committerBrooks Davis <brooks@FreeBSD.org>2002-10-01 01:03:02 +0000
commit13d4f45b18948eccb21c6c8995569a231d332222 (patch)
tree8ceea32a04fbfcc07dbd3132ba7849c5a38c6d75 /sys/dev/xe
parentdeffb46b9064f63df198941c4215d743f104b781 (diff)
Notes
Diffstat (limited to 'sys/dev/xe')
-rw-r--r--sys/dev/xe/if_xe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/xe/if_xe.c b/sys/dev/xe/if_xe.c
index bfb2170aeaa4..df5262e5f8f1 100644
--- a/sys/dev/xe/if_xe.c
+++ b/sys/dev/xe/if_xe.c
@@ -795,7 +795,7 @@ xe_media_change(struct ifnet *ifp) {
struct xe_softc *scp = ifp->if_softc;
#ifdef XE_DEBUG
- printf("xe%d: media_change\n", ifp->if_unit);
+ if_printf(ifp, "media_change\n");
#endif
if (IFM_TYPE(scp->ifm->ifm_media) != IFM_ETHER)
@@ -821,7 +821,7 @@ static void
xe_media_status(struct ifnet *ifp, struct ifmediareq *mrp) {
#ifdef XE_DEBUG
- printf("xe%d: media_status\n", ifp->if_unit);
+ if_printf(ifp, "media_status\n");
#endif
mrp->ifm_active = ((struct xe_softc *)ifp->if_softc)->media;