diff options
| author | Markus Brueffer <markus@FreeBSD.org> | 2007-01-17 03:50:45 +0000 |
|---|---|---|
| committer | Markus Brueffer <markus@FreeBSD.org> | 2007-01-17 03:50:45 +0000 |
| commit | 740ae2a34c6fea6c0610b6bb537980bd7babd7e9 (patch) | |
| tree | 4fee407825c08edd5dc1a8e5c02e45194df633d7 /sys/dev | |
| parent | 875d25860a88577b320ed99708c19aab0fc36df1 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -rw-r--r-- | sys/dev/usb/ums.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/usb/ums.c b/sys/dev/usb/ums.c index d9392ce3570a0..e77d306659f3e 100644 --- a/sys/dev/usb/ums.c +++ b/sys/dev/usb/ums.c @@ -431,9 +431,10 @@ ums_intr(xfer, addr, status) #define UMS_BUT(i) ((i) < 3 ? (((i) + 2) % 3) : (i)) DPRINTFN(5, ("ums_intr: sc=%p status=%d\n", sc, status)); - DPRINTFN(5, ("ums_intr: data = %02x %02x %02x %02x %02x %02x\n", - sc->sc_ibuf[0], sc->sc_ibuf[1], sc->sc_ibuf[2], - sc->sc_ibuf[3], sc->sc_ibuf[4], sc->sc_ibuf[5])); + DPRINTFN(5, ("ums_intr: data =")); + for (i = 0; i < sc->sc_isize; i++) + DPRINTFN(5, (" %02x", sc->sc_ibuf[i])); + DPRINTFN(5, ("\n")); if (status == USBD_CANCELLED) return; |
