From c47752f2d5efc5e02f1d330801b7f26cd5c80a4e Mon Sep 17 00:00:00 2001 From: n_hibma Date: Sun, 2 Apr 2000 22:04:18 +0000 Subject: Shoot. Did a compile in the wrong directory and missed this compiler error. Could someone pass me the pointy hat, please? --- sys/dev/usb/umass.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys') diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c index 6268e32..74b8c90 100644 --- a/sys/dev/usb/umass.c +++ b/sys/dev/usb/umass.c @@ -1107,7 +1107,7 @@ umass_bbb_transfer(struct umass_softc *sc, int lun, void *cmd, int cmdlen, */ USETDW(sc->cbw.dCBWSignature, CBWSIGNATURE); /* We don't care what the initial value was, as long as the values are unique */ - sc->cbw.dCBWTag++; /* Increase the tag number */ + USETDW(sc->cbw.dCBWTag, UGETDW(sc->cbw.dCBWTag) + 1); USETDW(sc->cbw.dCBWDataTransferLength, datalen); /* DIR_NONE is treated as DIR_OUT (0x00) */ sc->cbw.bCBWFlags = (dir == DIR_IN? CBWFLAGS_IN:CBWFLAGS_OUT); -- cgit v1.1