summaryrefslogtreecommitdiffstats
path: root/sys/dev/md
diff options
context:
space:
mode:
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