shithub: riscv

Download patch

ref: 2aec1f8a09ae0bc9fb269d84ef53defebc47eede
parent: bb151fa7899b279acb241458e3c00af08548d1a6
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Mon Dec 24 00:05:41 EST 2018

nusb/disk: fix typo "("

--- a/sys/src/cmd/nusb/disk/disk.c
+++ b/sys/src/cmd/nusb/disk/disk.c
@@ -427,7 +427,7 @@
 			else
 				fprint(2, "disk: data: %d bytes (nio: %d)\n", n, nio);
 		nio = n;
-		if((n < 0 && needunstall() || (n <= 9 || data->write == 0))
+		if(n < 0 && needunstall() || (n <= 9 || data->write == 0))
 			unstall(dev, ums->epin, Ein);
 	}