summaryrefslogtreecommitdiff
path: root/sys/kern/subr_disk.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2000-01-10 12:21:39 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2000-01-10 12:21:39 +0000
commitd685023e68bbd6a9dc57a007310c36397a085155 (patch)
tree98c78f185e11cc2c2e4a6461d418531720bef88e /sys/kern/subr_disk.c
parentdaa40efd8c3d91c3ab87dcf2fb7548e2d0083304 (diff)
Notes
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;
}