From c1df44ae51f0e038d79f66d82849ae33f48b5c94 Mon Sep 17 00:00:00 2001 From: peter Date: Thu, 7 Jun 2001 03:17:26 +0000 Subject: Back out part of my previous commit. This was a last minute change and I botched testing. This is a perfect example of how NOT to do this sort of thing. :-( --- sys/kern/kern_ktr.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/kern/kern_ktr.c') diff --git a/sys/kern/kern_ktr.c b/sys/kern/kern_ktr.c index 80af2ab..eedca0e 100644 --- a/sys/kern/kern_ktr.c +++ b/sys/kern/kern_ktr.c @@ -88,11 +88,11 @@ int ktr_extend = KTR_EXTEND_DEFAULT; SYSCTL_INT(_debug_ktr, OID_AUTO, extend, CTLFLAG_RD, &ktr_extend, 0, ""); int ktr_cpumask = KTR_CPUMASK; -TUNABLE_INT("debug.ktr.cpumask", &ktr_cpumask); +TUNABLE_INT("debug.ktr.cpumask", ktr_cpumask); SYSCTL_INT(_debug_ktr, OID_AUTO, cpumask, CTLFLAG_RW, &ktr_cpumask, 0, ""); int ktr_mask = KTR_MASK; -TUNABLE_INT("debug.ktr.mask", &ktr_mask); +TUNABLE_INT("debug.ktr.mask", ktr_mask); SYSCTL_INT(_debug_ktr, OID_AUTO, mask, CTLFLAG_RW, &ktr_mask, 0, ""); int ktr_entries = KTR_ENTRIES; @@ -102,7 +102,7 @@ volatile int ktr_idx = 0; struct ktr_entry ktr_buf[KTR_ENTRIES]; int ktr_verbose = KTR_VERBOSE_DEFAULT; -TUNABLE_INT("debug.ktr.verbose", &ktr_verbose); +TUNABLE_INT("debug.ktr.verbose", ktr_verbose); SYSCTL_INT(_debug_ktr, OID_AUTO, verbose, CTLFLAG_RW, &ktr_verbose, 0, ""); #ifdef KTR -- cgit v1.1