diff options
author | gavin <gavin@FreeBSD.org> | 2010-08-09 14:48:31 +0000 |
---|---|---|
committer | gavin <gavin@FreeBSD.org> | 2010-08-09 14:48:31 +0000 |
commit | dbc7cd5ae92f3f2be03dce659ade7aecb6878079 (patch) | |
tree | 35889c9bfc0785cce20a8f3b6dd6dc4f1c4e481e /sys/kern/init_main.c | |
parent | 9f1a6fc5a691fe47d9f9667fa2a112ee7e4bbdf0 (diff) | |
download | FreeBSD-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/init_main.c')
-rw-r--r-- | sys/kern/init_main.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index e4d8419..de35a52 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -100,9 +100,11 @@ struct vmspace vmspace0; struct proc *initproc; int boothowto = 0; /* initialized so that it can be patched */ -SYSCTL_INT(_debug, OID_AUTO, boothowto, CTLFLAG_RD, &boothowto, 0, ""); +SYSCTL_INT(_debug, OID_AUTO, boothowto, CTLFLAG_RD, &boothowto, 0, + "Boot control flags, passed from loader"); int bootverbose; -SYSCTL_INT(_debug, OID_AUTO, bootverbose, CTLFLAG_RW, &bootverbose, 0, ""); +SYSCTL_INT(_debug, OID_AUTO, bootverbose, CTLFLAG_RW, &bootverbose, 0, + "Control the output of verbose kernel messages"); /* * This ensures that there is at least one entry so that the sysinit_set @@ -647,7 +649,8 @@ SYSCTL_STRING(_kern, OID_AUTO, init_path, CTLFLAG_RD, init_path, 0, #endif static int init_shutdown_timeout = INIT_SHUTDOWN_TIMEOUT; SYSCTL_INT(_kern, OID_AUTO, init_shutdown_timeout, - CTLFLAG_RW, &init_shutdown_timeout, 0, ""); + CTLFLAG_RW, &init_shutdown_timeout, 0, "Shutdown timeout of init(8). " + "Unused within kernel, but used to control init(8)"); /* * Start the initial user process; try exec'ing each pathname in init_path. |