summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2010-02-13 02:16:51 +0000
committermartin <martin@NetBSD.org>2010-02-13 02:16:51 +0000
commitfa65bdadb2c2d64d468f4a67d00884df489acf47 (patch)
tree1789c796ecc26522631b7661e9147411f8ed9750 /sys/dev/usb
parent667f16d7f3453e8d3bf8468edc6be1b909facf69 (diff)
KNF
Diffstat (limited to 'sys/dev/usb')
-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 c527e761965..2c0b73d6428 100644
--- a/sys/dev/usb/umass.c
+++ b/sys/dev/usb/umass.c
@@ -1,4 +1,4 @@
-/* $NetBSD: umass.c,v 1.137 2010/02/13 02:09:41 martin Exp $ */
+/* $NetBSD: umass.c,v 1.138 2010/02/13 02:16:51 martin Exp $ */
/*
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -124,7 +124,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.137 2010/02/13 02:09:41 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.138 2010/02/13 02:16:51 martin Exp $");
#include "atapibus.h"
#include "scsibus.h"
@@ -1180,7 +1180,7 @@ umass_bbb_state(usbd_xfer_handle xfer, usbd_private_handle priv,
residue = UGETDW(sc->csw.dCSWDataResidue);
if (residue < sc->transfer_datalen - sc->transfer_actlen)
- residue = sc->transfer_datalen - sc->transfer_actlen;
+ residue = sc->transfer_datalen - sc->transfer_actlen;
/* Translate weird command-status signatures. */
if ((sc->sc_quirks & UMASS_QUIRK_WRONG_CSWSIG) &&