summaryrefslogtreecommitdiff
path: root/sys/kern/subr_disk.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2001-11-04 09:01:07 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2001-11-04 09:01:07 +0000
commit20a3b67cb27b7b8045b9aac98231ecafb7530b15 (patch)
tree569ca860650009a397319a794d3de7395c373038 /sys/kern/subr_disk.c
parent8fb6b299560d5b03e8b1e8c781221186402b693e (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 af1ab847b1ac..3a551e88cb39 100644
--- a/sys/kern/subr_disk.c
+++ b/sys/kern/subr_disk.c
@@ -41,7 +41,7 @@ disk_dev_synth(dev_t dev)
int u, s, p;
dev_t pdev;
- if (dktype(dev))
+ if (dksparebits(dev))
return;
LIST_FOREACH(dp, &disklist, d_list) {
if (major(dev) != dp->d_devsw->d_maj)