diff options
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); |