summaryrefslogtreecommitdiff
path: root/sys/dev/usb/udcf.c
diff options
context:
space:
mode:
authorMarc Balmer <mbalmer@cvs.openbsd.org>2006-12-06 11:44:54 +0000
committerMarc Balmer <mbalmer@cvs.openbsd.org>2006-12-06 11:44:54 +0000
commit1c84ffdcd43b0e5f1a7bca0df1ee59eb0bea7f91 (patch)
treebd94a4230c17491d171c6fdfb408be10295927fa /sys/dev/usb/udcf.c
parentd44ae445ff532a96e2cdc616b1c708fc3969707a (diff)
When compiled with UDCF_DEBUG, only output the bits received when
udcfdebug > 1.
Diffstat (limited to 'sys/dev/usb/udcf.c')
-rw-r--r--sys/dev/usb/udcf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/udcf.c b/sys/dev/usb/udcf.c
index 68c43152e48..23051269fad 100644
--- a/sys/dev/usb/udcf.c
+++ b/sys/dev/usb/udcf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: udcf.c,v 1.22 2006/12/05 15:23:16 mbalmer Exp $ */
+/* $OpenBSD: udcf.c,v 1.23 2006/12/06 11:44:53 mbalmer Exp $ */
/*
* Copyright (c) 2006 Marc Balmer <mbalmer@openbsd.org>
@@ -481,7 +481,7 @@ udcf_bv_probe(void *xsc)
return;
}
- DPRINTF((data & 0x01 ? "0" : "1"));
+ DPRINTFN(1, (data & 0x01 ? "0" : "1"));
if (!(data & 0x01))
sc->sc_tbits |= sc->sc_mask;
sc->sc_mask <<= 1;