diff options
author | 2006-12-06 11:44:53 +0000 | |
---|---|---|
committer | 2006-12-06 11:44:53 +0000 | |
commit | d61130a3b034b9add82d7f74293f13cb0d2a7ae4 (patch) | |
tree | 4ce94384ebdac972c001f5a8104d19537a1003d1 | |
parent | Missing newline in printf. (diff) | |
download | wireguard-openbsd-d61130a3b034b9add82d7f74293f13cb0d2a7ae4.tar.xz wireguard-openbsd-d61130a3b034b9add82d7f74293f13cb0d2a7ae4.zip |
When compiled with UDCF_DEBUG, only output the bits received when
udcfdebug > 1.
-rw-r--r-- | sys/dev/usb/udcf.c | 4 |
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; |