artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d1376d
)
if error, b_resid = b_bcount
author
deraadt
<deraadt@openbsd.org>
Fri, 31 Jan 1997 10:31:43 +0000
(10:31 +0000)
committer
deraadt
<deraadt@openbsd.org>
Fri, 31 Jan 1997 10:31:43 +0000
(10:31 +0000)
sys/dev/ccd.c
patch
|
blob
|
history
diff --git
a/sys/dev/ccd.c
b/sys/dev/ccd.c
index
d62139b
..
0dd3154
100644
(file)
--- a/
sys/dev/ccd.c
+++ b/
sys/dev/ccd.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: ccd.c,v 1.1
3 1996/12/19 18:26:58
deraadt Exp $ */
+/* $OpenBSD: ccd.c,v 1.1
4 1997/01/31 10:31:43
deraadt Exp $ */
/* $NetBSD: ccd.c,v 1.33 1996/05/05 04:21:14 thorpej Exp $ */
/*-
@@
-644,6
+644,7
@@
ccdstrategy(bp)
#endif
if ((cs->sc_flags & CCDF_INITED) == 0) {
bp->b_error = ENXIO;
+ bp->b_resid = bp->b_bcount;
bp->b_flags |= B_ERROR;
goto done;
}