From 6e87a9d8afdfc515b19f3465888da03e783d93ee Mon Sep 17 00:00:00 2001 From: Marcus Glocker Date: Wed, 19 Dec 2007 22:44:00 +0000 Subject: Move watchdog timeout message from DPRINTF to printf. --- sys/dev/usb/if_upgt.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'sys/dev') 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 @@ -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? */ -- cgit v1.2.3