diff options
author | n_hibma <n_hibma@FreeBSD.org> | 2001-08-21 21:41:15 +0000 |
---|---|---|
committer | n_hibma <n_hibma@FreeBSD.org> | 2001-08-21 21:41:15 +0000 |
commit | 459feba22a7ac01ef4f68ba4d2e441b052c7f09b (patch) | |
tree | 04d920b69c1ca5b66b9eec4ba5502aba9e10d29e | |
parent | 8be7dfb7bf85093acdfed089d63f85e0896aa947 (diff) | |
download | FreeBSD-src-459feba22a7ac01ef4f68ba4d2e441b052c7f09b.zip FreeBSD-src-459feba22a7ac01ef4f68ba4d2e441b052c7f09b.tar.gz |
Deconfuse a debugging message.
-rw-r--r-- | sys/dev/usb/umass.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c index 31a5a03..b85cd52 100644 --- a/sys/dev/usb/umass.c +++ b/sys/dev/usb/umass.c @@ -1473,10 +1473,10 @@ umass_bbb_state(usbd_xfer_handle xfer, usbd_private_handle priv, sc->transfer_actlen, sc->transfer_datalen); } else if (sc->transfer_datalen - sc->transfer_actlen != UGETDW(sc->csw.dCSWDataResidue)) { - DPRINTF(UDMASS_BBB, ("%s: actlen=%d != residue=%d\n", + DPRINTF(UDMASS_BBB, ("%s: residue=%d != calc.res.=%d\n", USBDEVNAME(sc->sc_dev), - sc->transfer_datalen - sc->transfer_actlen, - UGETDW(sc->csw.dCSWDataResidue))); + UGETDW(sc->csw.dCSWDataResidue), + sc->transfer_datalen - sc->transfer_actlen)); umass_bbb_reset(sc, STATUS_WIRE_FAILED); return; |