diff options
author | thompsa <thompsa@FreeBSD.org> | 2010-04-22 21:31:34 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2010-04-22 21:31:34 +0000 |
commit | bd3f3db8dd41b77e5624bea80abc9248a8f134a6 (patch) | |
tree | 9000e5bc0e27a7baa3f0c95de314e4c394588cf1 /sys/dev/usb/usb_debug.h | |
parent | 6fc09494d18ddab1972ded17fb6e798228bacffb (diff) | |
download | FreeBSD-src-bd3f3db8dd41b77e5624bea80abc9248a8f134a6.zip FreeBSD-src-bd3f3db8dd41b77e5624bea80abc9248a8f134a6.tar.gz |
Change USB_DEBUG to #ifdef and allow it to be turned off. Previously this had
the illusion of a tunable setting but was always turned on regardless.
MFC after: 1 week
Diffstat (limited to 'sys/dev/usb/usb_debug.h')
-rw-r--r-- | sys/dev/usb/usb_debug.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/usb/usb_debug.h b/sys/dev/usb/usb_debug.h index b6bfbcf..8718c89 100644 --- a/sys/dev/usb/usb_debug.h +++ b/sys/dev/usb/usb_debug.h @@ -34,7 +34,7 @@ extern int usb_debug; /* Check if USB debugging is enabled. */ #ifdef USB_DEBUG_VAR -#if (USB_DEBUG != 0) +#ifdef USB_DEBUG #define DPRINTFN(n,fmt,...) do { \ if ((USB_DEBUG_VAR) >= (n)) { \ printf("%s: " fmt, \ |