summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/usb/umass.c6
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;
OpenPOWER on IntegriCloud