summaryrefslogtreecommitdiff
path: root/sys/dev/usb/usb.c
diff options
context:
space:
mode:
authorNick Hibma <n_hibma@FreeBSD.org>1999-04-11 20:50:33 +0000
committerNick Hibma <n_hibma@FreeBSD.org>1999-04-11 20:50:33 +0000
commit67aa00a71bb06d52675f0801d00d23cb37e30e06 (patch)
tree9d3e27cf470fc74a8b723c48055ceb2dd22eefe4 /sys/dev/usb/usb.c
parentc8bdad599ff09ea0e011de3e76731897bfce5fe8 (diff)
Notes
Diffstat (limited to 'sys/dev/usb/usb.c')
-rw-r--r--sys/dev/usb/usb.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/dev/usb/usb.c b/sys/dev/usb/usb.c
index 586bcb4f49c7..935f951f1ee5 100644
--- a/sys/dev/usb/usb.c
+++ b/sys/dev/usb/usb.c
@@ -75,11 +75,10 @@ MALLOC_DEFINE(M_USBDEV, "USBdev", "USB device");
#include <dev/usb/usb_quirks.h>
#ifdef USB_DEBUG
-#define DPRINTF(x) if (usbdebug) printf x
-#define DPRINTFN(n,x) if (usbdebug>(n)) printf x
+#define DPRINTF(x) if (usbdebug) logprintf x
+#define DPRINTFN(n,x) if (usbdebug>(n)) logprintf x
int usbdebug = 1;
-int uhcidebug = 1;
-int ohcidebug = 1;
+extern int uhcidebug, ohcidebug;
#else
#define DPRINTF(x)
#define DPRINTFN(n,x)