summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_disk.c')
-rw-r--r--sys/kern/subr_disk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_disk.c b/sys/kern/subr_disk.c
index 47ed36e..051950a 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -99,7 +99,7 @@ bioq_flush(struct bio_queue_head *head, struct devstat *stp, int error)
if (bp == NULL)
break;
bioq_remove(head, bp);
- biofinish(bp, stp, ENXIO);
+ biofinish(bp, stp, error);
}
}
OpenPOWER on IntegriCloud