diff options
Diffstat (limited to 'sys/dev/atapi/acd.c')
-rw-r--r-- | sys/dev/atapi/acd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/atapi/acd.c b/sys/dev/atapi/acd.c index 15113b3d50b..4e630eafdf8 100644 --- a/sys/dev/atapi/acd.c +++ b/sys/dev/atapi/acd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acd.c,v 1.16 1996/12/05 13:12:11 deraadt Exp $ */ +/* $OpenBSD: acd.c,v 1.17 1996/12/11 19:08:24 deraadt Exp $ */ /* * Copyright (c) 1996 Manuel Bouyer. All rights reserved. @@ -589,6 +589,7 @@ acdstart(vp) if ((ad_link->flags & ADEV_MEDIA_LOADED) == 0) { bp->b_error = EIO; bp->b_flags |= B_ERROR; + bp->b_resid = bp->b_bcount; biodone(bp); continue; } |