summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2007-12-19 22:44:00 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2007-12-19 22:44:00 +0000
commit6e87a9d8afdfc515b19f3465888da03e783d93ee (patch)
tree68ce11b0f59002df57202c7fa59e3a7dc78f9644 /sys/dev
parent4bbaa01ed1bd4bf1fb0e88d0c32e2992242f5092 (diff)
Move watchdog timeout message from DPRINTF to printf.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/usb/if_upgt.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/dev/usb/if_upgt.c b/sys/dev/usb/if_upgt.c
index ae16139309a..ffd0d196db4 100644
--- a/sys/dev/usb/if_upgt.c
+++ b/sys/dev/usb/if_upgt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_upgt.c,v 1.5 2007/12/19 22:37:01 mglocker Exp $ */
+/* $OpenBSD: if_upgt.c,v 1.6 2007/12/19 22:43:59 mglocker Exp $ */
/*
* Copyright (c) 2007 Marcus Glocker <mglocker@openbsd.org>
@@ -1390,11 +1390,9 @@ upgt_start(struct ifnet *ifp)
void
upgt_watchdog(struct ifnet *ifp)
{
- struct upgt_softc *sc;
-
- sc = ifp->if_softc;
+ struct upgt_softc *sc = ifp->if_softc;
- DPRINTF(1, "%s: %s\n", sc->sc_dev.dv_xname, __func__);
+ printf("%s: watchdog timeout!\n", sc->sc_dev.dv_xname);
/* TODO: what shall we do on TX timeout? */