summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom_ctl.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-01-04 10:59:38 +0000
committerkib <kib@FreeBSD.org>2011-01-04 10:59:38 +0000
commita6922e1e8c1ff68412b1e16fd32603720f4c8e71 (patch)
tree84c61641d2294c356b3be9be60a905221077f4a7 /sys/geom/geom_ctl.c
parent86eafd5cfb09560be0c95f397beba890348f6f28 (diff)
downloadFreeBSD-src-a6922e1e8c1ff68412b1e16fd32603720f4c8e71.zip
FreeBSD-src-a6922e1e8c1ff68412b1e16fd32603720f4c8e71.tar.gz
Finish r210923, 210926. Mark some devices as eternal.
MFC after: 2 weeks
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 55f3473..d8ca92f 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"));
OpenPOWER on IntegriCloud