summaryrefslogtreecommitdiffstats
path: root/sys/dev/md
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-01-29 16:50:04 +0000
committerphk <phk@FreeBSD.org>2005-01-29 16:50:04 +0000
commit237e3ac2e92ccb019632944daf987795322d4090 (patch)
treea950aeb47ffba07aa36aefea75dce8b9c92e813c /sys/dev/md
parent1a5ece93a12777fe7b10a79d14f37529eb9ecdb5 (diff)
downloadFreeBSD-src-237e3ac2e92ccb019632944daf987795322d4090.zip
FreeBSD-src-237e3ac2e92ccb019632944daf987795322d4090.tar.gz
Use MAXMINOR
Diffstat (limited to 'sys/dev/md')
-rw-r--r--sys/dev/md/md.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/md/md.c b/sys/dev/md/md.c
index 4c5e557..041c511 100644
--- a/sys/dev/md/md.c
+++ b/sys/dev/md/md.c
@@ -1183,7 +1183,7 @@ g_md_init(struct g_class *mp __unused)
MD_NAME, mdunits, name, len, ptr);
md_preloaded(ptr, len);
}
- status_dev = make_dev(&mdctl_cdevsw, 0xffff00ff, UID_ROOT, GID_WHEEL,
+ status_dev = make_dev(&mdctl_cdevsw, MAXMINOR, UID_ROOT, GID_WHEEL,
0600, MDCTL_NAME);
g_topology_lock();
}
OpenPOWER on IntegriCloud