diff options
author | pjd <pjd@FreeBSD.org> | 2004-08-30 18:50:06 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2004-08-30 18:50:06 +0000 |
commit | 4689077c9e7a8a614537856918556d1b15c8a16a (patch) | |
tree | e152fb979c92bc31320fe362664cbdd816356aa8 /sys/geom/stripe | |
parent | d1f44cbc838dc531fdf242bf90df52ae37e5d3c7 (diff) | |
download | FreeBSD-src-4689077c9e7a8a614537856918556d1b15c8a16a.zip FreeBSD-src-4689077c9e7a8a614537856918556d1b15c8a16a.tar.gz |
Allow to configure debug level from /boot/loader.conf.
Diffstat (limited to 'sys/geom/stripe')
-rw-r--r-- | sys/geom/stripe/g_stripe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/stripe/g_stripe.c b/sys/geom/stripe/g_stripe.c index 36dd4cf..7401c06 100644 --- a/sys/geom/stripe/g_stripe.c +++ b/sys/geom/stripe/g_stripe.c @@ -69,6 +69,7 @@ struct g_class g_stripe_class = { SYSCTL_DECL(_kern_geom); SYSCTL_NODE(_kern_geom, OID_AUTO, stripe, CTLFLAG_RW, 0, "GEOM_STRIPE stuff"); static u_int g_stripe_debug = 0; +TUNABLE_INT("kern.geom.stripe.debug", &g_stripe_debug); SYSCTL_UINT(_kern_geom_stripe, OID_AUTO, debug, CTLFLAG_RW, &g_stripe_debug, 0, "Debug level"); static int g_stripe_fast = 1; |