summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_disk.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-10-14 08:09:43 +0000
committerphk <phk@FreeBSD.org>2003-10-14 08:09:43 +0000
commit637477251d12519b0e8415a57fea4d92e14d3a40 (patch)
tree19f333de3f5bc9697675756656fbbd84e76d1c91 /sys/kern/subr_disk.c
parente34b12b9cdb507666a4eafdf2f1e52a113dcb791 (diff)
downloadFreeBSD-src-637477251d12519b0e8415a57fea4d92e14d3a40.zip
FreeBSD-src-637477251d12519b0e8415a57fea4d92e14d3a40.tar.gz
Made use of 'error' argument, which was unused (by mistake) before.
Submitted by: Pawel Jakub Dawidek <nick@garage.freebsd.pl>
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