summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormglocker <mglocker@openbsd.org>2007-08-05 16:04:44 +0000
committermglocker <mglocker@openbsd.org>2007-08-05 16:04:44 +0000
commit26b896180ed9dbb26f8f741c0a43ded01e9c48dc (patch)
treebfccd484338938c325170f02ae4153c2962dc351
parentLow-Noise watchdog routine (debug level 2). (diff)
downloadwireguard-openbsd-26b896180ed9dbb26f8f741c0a43ded01e9c48dc.tar.xz
wireguard-openbsd-26b896180ed9dbb26f8f741c0a43ded01e9c48dc.zip
Fix DPRINTF tweaks.
-rw-r--r--sys/dev/pcmcia/if_malo.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/pcmcia/if_malo.c b/sys/dev/pcmcia/if_malo.c
index 8297dd306d9..0df44b9547b 100644
--- a/sys/dev/pcmcia/if_malo.c
+++ b/sys/dev/pcmcia/if_malo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_malo.c,v 1.39 2007/08/05 14:59:58 mglocker Exp $ */
+/* $OpenBSD: if_malo.c,v 1.40 2007/08/05 16:04:44 mglocker Exp $ */
/*
* Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
@@ -908,9 +908,7 @@ cmalo_start(struct ifnet *ifp)
void
cmalo_watchdog(struct ifnet *ifp)
{
- struct malo_softc *sc = ifp->if_softc;
-
- DPRINTF(2, "%s: watchdog timeout\n", sc->sc_dev.dv_xname);
+ DPRINTF(2, "watchdog timeout\n");
/* accept TX packets again */
ifp->if_flags &= ~IFF_OACTIVE;