summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-11-04 09:01:07 +0000
committerphk <phk@FreeBSD.org>2001-11-04 09:01:07 +0000
commitc665837dfda33ce92ed020e9201d3145438ea776 (patch)
tree569ca860650009a397319a794d3de7395c373038 /sys/pc98
parenta5f9edc45abbd6f38474751dd2d30eb9d751f116 (diff)
downloadFreeBSD-src-c665837dfda33ce92ed020e9201d3145438ea776.zip
FreeBSD-src-c665837dfda33ce92ed020e9201d3145438ea776.tar.gz
Rename the top 7 bits if disk minors to spare bits, rather than type bits.
Diffstat (limited to 'sys/pc98')
-rw-r--r--sys/pc98/pc98/wd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/pc98/pc98/wd.c b/sys/pc98/pc98/wd.c
index 3916b01..1ed9f1b 100644
--- a/sys/pc98/pc98/wd.c
+++ b/sys/pc98/pc98/wd.c
@@ -1232,7 +1232,7 @@ wdopen(dev_t dev, int flags, int fmt, struct thread *td)
struct disklabel *dl;
lunit = dkunit(dev);
- if (lunit >= NWD || dktype(dev) != 0)
+ if (lunit >= NWD || dksparebits(dev) != 0)
return (ENXIO);
du = wddrives[lunit];
if (du == NULL)
OpenPOWER on IntegriCloud