diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-11-04 09:01:07 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2001-11-04 09:01:07 +0000 |
| commit | 20a3b67cb27b7b8045b9aac98231ecafb7530b15 (patch) | |
| tree | 569ca860650009a397319a794d3de7395c373038 /sys/kern/subr_disk.c | |
| parent | 8fb6b299560d5b03e8b1e8c781221186402b693e (diff) | |
Notes
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) |
