summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
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? */