summaryrefslogtreecommitdiffstats
path: root/sys/geom/label
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2004-08-30 18:50:06 +0000
committerpjd <pjd@FreeBSD.org>2004-08-30 18:50:06 +0000
commit4689077c9e7a8a614537856918556d1b15c8a16a (patch)
treee152fb979c92bc31320fe362664cbdd816356aa8 /sys/geom/label
parentd1f44cbc838dc531fdf242bf90df52ae37e5d3c7 (diff)
downloadFreeBSD-src-4689077c9e7a8a614537856918556d1b15c8a16a.zip
FreeBSD-src-4689077c9e7a8a614537856918556d1b15c8a16a.tar.gz
Allow to configure debug level from /boot/loader.conf.
Diffstat (limited to 'sys/geom/label')
-rw-r--r--sys/geom/label/g_label.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/label/g_label.c b/sys/geom/label/g_label.c
index d1979b3..92c9533 100644
--- a/sys/geom/label/g_label.c
+++ b/sys/geom/label/g_label.c
@@ -44,6 +44,7 @@ __FBSDID("$FreeBSD$");
SYSCTL_DECL(_kern_geom);
SYSCTL_NODE(_kern_geom, OID_AUTO, label, CTLFLAG_RW, 0, "GEOM_LABEL stuff");
u_int g_label_debug = 0;
+TUNABLE_INT("kern.geom.label.debug", &g_label_debug);
SYSCTL_UINT(_kern_geom_label, OID_AUTO, debug, CTLFLAG_RW, &g_label_debug, 0,
"Debug level");
OpenPOWER on IntegriCloud