summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_cons.c
diff options
context:
space:
mode:
authorgavin <gavin@FreeBSD.org>2010-08-09 14:48:31 +0000
committergavin <gavin@FreeBSD.org>2010-08-09 14:48:31 +0000
commitdbc7cd5ae92f3f2be03dce659ade7aecb6878079 (patch)
tree35889c9bfc0785cce20a8f3b6dd6dc4f1c4e481e /sys/kern/kern_cons.c
parent9f1a6fc5a691fe47d9f9667fa2a112ee7e4bbdf0 (diff)
downloadFreeBSD-src-dbc7cd5ae92f3f2be03dce659ade7aecb6878079.zip
FreeBSD-src-dbc7cd5ae92f3f2be03dce659ade7aecb6878079.tar.gz
Add descriptions to a handful of sysctl nodes.
PR: kern/148580 Submitted by: Galimov Albert <wtfcrap mail.ru> MFC after: 1 week
Diffstat (limited to 'sys/kern/kern_cons.c')
-rw-r--r--sys/kern/kern_cons.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/kern/kern_cons.c b/sys/kern/kern_cons.c
index 2b9854f..42b98cf 100644
--- a/sys/kern/kern_cons.c
+++ b/sys/kern/kern_cons.c
@@ -341,7 +341,8 @@ sysctl_kern_consmute(SYSCTL_HANDLER_ARGS)
}
SYSCTL_PROC(_kern, OID_AUTO, consmute, CTLTYPE_INT|CTLFLAG_RW,
- 0, sizeof(cn_mute), sysctl_kern_consmute, "I", "");
+ 0, sizeof(cn_mute), sysctl_kern_consmute, "I",
+ "State of the console muting");
/*
* Low level console routines.
@@ -429,7 +430,7 @@ cnputs(char *p)
static int consmsgbuf_size = 8192;
SYSCTL_INT(_kern, OID_AUTO, consmsgbuf_size, CTLFLAG_RW, &consmsgbuf_size, 0,
- "");
+ "Console tty buffer size");
/*
* Redirect console output to a tty.
@@ -471,7 +472,8 @@ constty_clear(void)
/* Times per second to check for pending console tty messages. */
static int constty_wakeups_per_second = 5;
SYSCTL_INT(_kern, OID_AUTO, constty_wakeups_per_second, CTLFLAG_RW,
- &constty_wakeups_per_second, 0, "");
+ &constty_wakeups_per_second, 0,
+ "Times per second to check for pending console tty messages");
static void
constty_timeout(void *arg)
OpenPOWER on IntegriCloud