diff options
author | ae <ae@FreeBSD.org> | 2012-03-19 13:21:10 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2012-03-19 13:21:10 +0000 |
commit | 7049ead2d40bd6a140a0eeefaaf45b68bc22eedd (patch) | |
tree | 4a4067c456bc4a4f7728fbef1edff1f18ccfc219 /sys/geom/part | |
parent | 8b32f52931be8b7c3eeeb07c075310bad25c60f2 (diff) | |
download | FreeBSD-src-7049ead2d40bd6a140a0eeefaaf45b68bc22eedd.zip FreeBSD-src-7049ead2d40bd6a140a0eeefaaf45b68bc22eedd.tar.gz |
Add CTLFLAG_TUN to sysctls.
MFC after: 1 month
Diffstat (limited to 'sys/geom/part')
-rw-r--r-- | sys/geom/part/g_part_ldm.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/geom/part/g_part_ldm.c b/sys/geom/part/g_part_ldm.c index cdd402d..6f5939c 100644 --- a/sys/geom/part/g_part_ldm.c +++ b/sys/geom/part/g_part_ldm.c @@ -56,8 +56,8 @@ static SYSCTL_NODE(_kern_geom_part, OID_AUTO, ldm, CTLFLAG_RW, 0, static u_int ldm_debug = 0; TUNABLE_INT("kern.geom.part.ldm.debug", &ldm_debug); -SYSCTL_UINT(_kern_geom_part_ldm, OID_AUTO, debug, CTLFLAG_RW, - &ldm_debug, 0, "Debug level"); +SYSCTL_UINT(_kern_geom_part_ldm, OID_AUTO, debug, + CTLFLAG_RW | CTLFLAG_TUN, &ldm_debug, 0, "Debug level"); /* * This allows access to mirrored LDM volumes. Since we do not @@ -65,8 +65,8 @@ SYSCTL_UINT(_kern_geom_part_ldm, OID_AUTO, debug, CTLFLAG_RW, */ static u_int show_mirrors = 0; TUNABLE_INT("kern.geom.part.ldm.show_mirrors", &show_mirrors); -SYSCTL_UINT(_kern_geom_part_ldm, OID_AUTO, show_mirrors, CTLFLAG_RW, - &show_mirrors, 0, "Show mirrored volumes"); +SYSCTL_UINT(_kern_geom_part_ldm, OID_AUTO, show_mirrors, + CTLFLAG_RW | CTLFLAG_TUN, &show_mirrors, 0, "Show mirrored volumes"); #define LDM_DEBUG(lvl, fmt, ...) do { \ if (ldm_debug >= (lvl)) { \ |