summaryrefslogtreecommitdiff
path: root/sys/geom/geom_ctl.c
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2011-01-04 10:59:38 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2011-01-04 10:59:38 +0000
commit23b70c1ae21553acc791d61475afa4708977ad9c (patch)
tree84c61641d2294c356b3be9be60a905221077f4a7 /sys/geom/geom_ctl.c
parentac32f1176b41fd6230977753585bdd293b1c38d7 (diff)
Notes
Diffstat (limited to 'sys/geom/geom_ctl.c')
-rw-r--r--sys/geom/geom_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/geom/geom_ctl.c b/sys/geom/geom_ctl.c
index 55f34730031d..d8ca92fde12e 100644
--- a/sys/geom/geom_ctl.c
+++ b/sys/geom/geom_ctl.c
@@ -75,7 +75,7 @@ void
g_ctl_init(void)
{
- make_dev(&g_ctl_cdevsw, 0,
+ make_dev_credf(MAKEDEV_ETERNAL, &g_ctl_cdevsw, 0, NULL,
UID_ROOT, GID_OPERATOR, 0640, PATH_GEOM_CTL);
KASSERT(GCTL_PARAM_RD == VM_PROT_READ,
("GCTL_PARAM_RD != VM_PROT_READ"));