summaryrefslogtreecommitdiffstats
path: root/sys/dev/mlx/mlx_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mlx/mlx_disk.c')
-rw-r--r--sys/dev/mlx/mlx_disk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mlx/mlx_disk.c b/sys/dev/mlx/mlx_disk.c
index 1dcf93b..22328ba 100644
--- a/sys/dev/mlx/mlx_disk.c
+++ b/sys/dev/mlx/mlx_disk.c
@@ -193,7 +193,7 @@ mlxd_strategy(struct buf *bp)
return;
bad:
- bp->b_flags |= B_ERROR;
+ bp->b_ioflags |= BIO_ERROR;
done:
/*
@@ -212,7 +212,7 @@ mlxd_intr(void *data)
debug_called(1);
- if (bp->b_flags & B_ERROR)
+ if (bp->b_ioflags & BIO_ERROR)
bp->b_error = EIO;
else
bp->b_resid = 0;
OpenPOWER on IntegriCloud