diff options
author | Brooks Davis <brooks@FreeBSD.org> | 2002-10-01 00:59:40 +0000 |
---|---|---|
committer | Brooks Davis <brooks@FreeBSD.org> | 2002-10-01 00:59:40 +0000 |
commit | deffb46b9064f63df198941c4215d743f104b781 (patch) | |
tree | c9d44a8b1beea458764a4668a2d2af8a6c55ae60 /sys/dev/vx | |
parent | 091f3945cb9e2c30148923db78ab5d31ab20970a (diff) | |
download | src-deffb46b9064f63df198941c4215d743f104b781.tar.gz src-deffb46b9064f63df198941c4215d743f104b781.zip |
Use if_printf(ifp, "blah") instead of printf("vx%d: blah", ifp->if_unit).
Notes
Notes:
svn path=/head/; revision=104259
Diffstat (limited to 'sys/dev/vx')
-rw-r--r-- | sys/dev/vx/if_vx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vx/if_vx.c b/sys/dev/vx/if_vx.c index 317ee11d4999..447982c8a11c 100644 --- a/sys/dev/vx/if_vx.c +++ b/sys/dev/vx/if_vx.c @@ -489,7 +489,7 @@ readcheck: /* Check if we are stuck and reset [see XXX comment] */ if (vxstatus(sc)) { if (ifp->if_flags & IFF_DEBUG) - printf("vx%d: adapter reset\n", ifp->if_unit); + if_printf(ifp, "adapter reset\n"); vxreset(sc); } } @@ -937,7 +937,7 @@ vxwatchdog(ifp) struct vx_softc *sc = ifp->if_softc; if (ifp->if_flags & IFF_DEBUG) - printf("vx%d: device timeout\n", ifp->if_unit); + if_printf(ifp, "device timeout\n"); ifp->if_flags &= ~IFF_OACTIVE; vxstart(ifp); vxintr(sc); |