DragonFlyBSD Kernel Audit
DF-1762 / fix.diff
← back to finding ↓ download raw
diff --git a/sys/dev/disk/vpo/immio.c b/sys/dev/disk/vpo/immio.c
--- a/sys/dev/disk/vpo/immio.c
+++ b/sys/dev/disk/vpo/immio.c
@@ -744,7 +744,7 @@
 		/* ZIP+ wants to send data? */
 		if (r == (char)0x88) {
 			len = (((blen - *count) >= VP0_SECTOR_SIZE)) ?
-				VP0_SECTOR_SIZE : 2;
+				VP0_SECTOR_SIZE : 1;
 
 			error = imm_outstr(vpo, &buffer[*count], len);
 		} else {