diff options
Diffstat (limited to 'sys/kern/subr_disk.c')
| -rw-r--r-- | sys/kern/subr_disk.c | 2 |
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) |
