summaryrefslogtreecommitdiff
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 aa4d7c9fc3fb..e8266252f801 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -193,7 +193,7 @@ diskstrategy(struct buf *bp)
return;
}
- if (dscheck(bp, dp->d_slice) < 0) {
+ if (dscheck(bp, dp->d_slice) <= 0) {
biodone(bp);
return;
}