aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mcd
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2000-04-02 15:24:56 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2000-04-02 15:24:56 +0000
commitc244d2de435ed1913d6a7da017b205bffb44b36d (patch)
tree46bc33c5a3d3f0f652e9af40acac38ed8c4492c6 /sys/dev/mcd
parent4c9805fafa5fb041fa369df26cd26fee579223fe (diff)
Notes
Diffstat (limited to 'sys/dev/mcd')
-rw-r--r--sys/dev/mcd/mcd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c
index 8b41449d9976d..70614d7bb4ee7 100644
--- a/sys/dev/mcd/mcd.c
+++ b/sys/dev/mcd/mcd.c
@@ -402,7 +402,7 @@ mcdstrategy(struct buf *bp)
unit, (long)bp->b_blkno, bp->b_bcount);
printf("mcd: mcdstratregy failure");
bp->b_error = EINVAL;
- bp->b_flags |= B_ERROR;
+ bp->b_ioflags |= BIO_ERROR;
goto bad;
}
@@ -448,7 +448,7 @@ MCD_TRACE("strategy: drive not valid\n");
return;
bad:
- bp->b_flags |= B_ERROR;
+ bp->b_ioflags |= BIO_ERROR;
done:
bp->b_resid = bp->b_bcount;
biodone(bp);
@@ -1184,7 +1184,7 @@ readerr:
}
harderr:
/* invalidate the buffer */
- bp->b_flags |= B_ERROR;
+ bp->b_ioflags |= BIO_ERROR;
bp->b_resid = bp->b_bcount;
biodone(bp);