summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usb_subr.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2007-05-21 05:40:27 +0000
committerjsg <jsg@openbsd.org>2007-05-21 05:40:27 +0000
commit695146ce8180512370aa44750fc87b1be6f3ae5c (patch)
tree5b3f9a99ac1a8a426bac337e998f9c7abe9980b7 /sys/dev/usb/usb_subr.c
parentRemove Ether_ifattach macro (diff)
downloadwireguard-openbsd-695146ce8180512370aa44750fc87b1be6f3ae5c.tar.xz
wireguard-openbsd-695146ce8180512370aa44750fc87b1be6f3ae5c.zip
Remove logprintf macro
Diffstat (limited to 'sys/dev/usb/usb_subr.c')
-rw-r--r--sys/dev/usb/usb_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/usb_subr.c b/sys/dev/usb/usb_subr.c
index 2cca9fd6015..12601a6a169 100644
--- a/sys/dev/usb/usb_subr.c
+++ b/sys/dev/usb/usb_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: usb_subr.c,v 1.48 2007/02/28 22:30:55 deraadt Exp $ */
+/* $OpenBSD: usb_subr.c,v 1.49 2007/05/21 05:40:28 jsg Exp $ */
/* $NetBSD: usb_subr.c,v 1.103 2003/01/10 11:19:13 augustss Exp $ */
/* $FreeBSD: src/sys/dev/usb/usb_subr.c,v 1.18 1999/11/17 22:33:47 n_hibma Exp $ */
@@ -58,8 +58,8 @@
#include <dev/usb/usb_quirks.h>
#ifdef USB_DEBUG
-#define DPRINTF(x) do { if (usbdebug) logprintf x; } while (0)
-#define DPRINTFN(n,x) do { if (usbdebug>(n)) logprintf x; } while (0)
+#define DPRINTF(x) do { if (usbdebug) printf x; } while (0)
+#define DPRINTFN(n,x) do { if (usbdebug>(n)) printf x; } while (0)
extern int usbdebug;
#else
#define DPRINTF(x)