summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2004-05-01 23:23:14 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2004-05-01 23:23:14 +0000
commit877c0b61c3111ab786d7f68c9bd6198e8fb5c2ba (patch)
treefb0e61a0716266995627b34b66bb2266b2dbde2c /sys/dev/isa
parent1030ab4a347b3755e2fdab6a3cb5c82792dff31c (diff)
Fix a disk_unbusy() that was missing the 3rd argument; Georg Schwarz
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/mcd.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/isa/mcd.c b/sys/dev/isa/mcd.c
index bc66a2839ba..5336ebd04d1 100644
--- a/sys/dev/isa/mcd.c
+++ b/sys/dev/isa/mcd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mcd.c,v 1.33 2004/02/15 02:45:47 tedu Exp $ */
+/* $OpenBSD: mcd.c,v 1.34 2004/05/01 23:23:13 millert Exp $ */
/* $NetBSD: mcd.c,v 1.60 1998/01/14 12:14:41 drochner Exp $ */
/*
@@ -1273,7 +1273,8 @@ changed:
/* Invalidate the buffer. */
bp->b_flags |= B_ERROR;
bp->b_resid = bp->b_bcount - mbx->skip;
- disk_unbusy(&sc->sc_dk, (bp->b_bcount - bp->b_resid));
+ disk_unbusy(&sc->sc_dk, (bp->b_bcount - bp->b_resid),
+ (bp->b_flags & B_READ));
biodone(bp);
mcdstart(sc);