summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordwmalone <dwmalone@FreeBSD.org>2002-08-11 18:47:42 +0000
committerdwmalone <dwmalone@FreeBSD.org>2002-08-11 18:47:42 +0000
commit017aab1fde0d8fd18f78554ecf21630acd240177 (patch)
treed896a1f94e631bf425fafa187b89ce267ff2d29f /sys
parenta74d1427785b126ce1dff1b514cc71763b2a1cb0 (diff)
downloadFreeBSD-src-017aab1fde0d8fd18f78554ecf21630acd240177.zip
FreeBSD-src-017aab1fde0d8fd18f78554ecf21630acd240177.tar.gz
Make kern.log_console_output a tuneable aswell as a sysctl.
MFC after: 1 week
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_prf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/subr_prf.c b/sys/kern/subr_prf.c
index c6b5bee..b0cdc79 100644
--- a/sys/kern/subr_prf.c
+++ b/sys/kern/subr_prf.c
@@ -95,6 +95,7 @@ static int msgbufmapped; /* Set when safe to use msgbuf */
int msgbuftrigger;
static int log_console_output = 1;
+TUNABLE_INT("kern.log_console_output", &log_console_output);
SYSCTL_INT(_kern, OID_AUTO, log_console_output, CTLFLAG_RW,
&log_console_output, 0, "");
OpenPOWER on IntegriCloud