artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bca4cf0
)
if you read with a smaller buffer than the block on the tape, b_resid and b_count...
author
deraadt
<deraadt@openbsd.org>
Sun, 19 Nov 1995 13:27:52 +0000
(13:27 +0000)
committer
deraadt
<deraadt@openbsd.org>
Sun, 19 Nov 1995 13:27:52 +0000
(13:27 +0000)
sys/scsi/st.c
patch
|
blob
|
history
diff --git
a/sys/scsi/st.c
b/sys/scsi/st.c
index
3bc4712
..
b83092d
100644
(file)
--- a/
sys/scsi/st.c
+++ b/
sys/scsi/st.c
@@
-854,7
+854,8
@@
done:
/*
* Correctly set the buf to indicate a completed xfer
*/
- iodone(bp);
+ bp->b_resid = bp->b_bcount;
+ biodone(bp);
return;
}
@@
-1611,7
+1612,7
@@
st_interpret_sense(xs)
struct buf *bp = xs->bp;
struct st_softc *st = sc_link->device_softc;
u_int8_t key;
-
u_
int32_t info;
+ int32_t info;
/*
* Get the sense fields and work out what code