Module Name: src
Committed By: martin
Date: Sat Feb 13 02:16:51 UTC 2010
Modified Files:
src/sys/dev/usb: umass.c
Log Message:
KNF
To generate a diff of this commit:
cvs rdiff -u -r1.137 -r1.138 src/sys/dev/usb/umass.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/usb/umass.c
diff -u src/sys/dev/usb/umass.c:1.137 src/sys/dev/usb/umass.c:1.138
--- src/sys/dev/usb/umass.c:1.137 Sat Feb 13 02:09:41 2010
+++ src/sys/dev/usb/umass.c Sat Feb 13 02:16:51 2010
@@ -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 @@
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) &&