aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/ugen.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/ugen.c')
-rw-r--r--sys/dev/usb/ugen.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/ugen.c b/sys/dev/usb/ugen.c
index 354ce918ec55..08221af9faa8 100644
--- a/sys/dev/usb/ugen.c
+++ b/sys/dev/usb/ugen.c
@@ -69,7 +69,7 @@
#include <dev/usb/usbdi.h>
#include <dev/usb/usbdi_util.h>
-#ifdef UGEN_DEBUG
+#ifdef USB_DEBUG
#define DPRINTF(x) if (ugendebug) logprintf x
#define DPRINTFN(n,x) if (ugendebug>(n)) logprintf x
int ugendebug = 0;
@@ -1130,7 +1130,7 @@ ugen_do_ioctl(struct ugen_softc *sc, int endpt, u_long cmd,
return (EINVAL);
switch (cmd) {
-#ifdef UGEN_DEBUG
+#ifdef USB_DEBUG
case USB_SETDEBUG:
ugendebug = *(int *)addr;
break;