summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2001-12-16 16:07:20 +0000
committerluigi <luigi@FreeBSD.org>2001-12-16 16:07:20 +0000
commit4893656ff88def86d0e584f18d38823557954e4d (patch)
treef406552da7423c909d6905ea86e2c5e3da9f5bb3 /sys
parent53a811b4182c5cac8fea82c976a95c6bc9c177ee (diff)
downloadFreeBSD-src-4893656ff88def86d0e584f18d38823557954e4d.zip
FreeBSD-src-4893656ff88def86d0e584f18d38823557954e4d.tar.gz
Add/correct description for some sysctl variables where it was missing.
The description field is unused in -stable, so the MFC there is equivalent to a comment. It can be done at any time, i am just setting a reminder in 45 days when hopefully we are past 4.5-release. MFC after: 45 days
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/init_main.c3
-rw-r--r--sys/kern/kern_clock.c3
-rw-r--r--sys/kern/kern_mib.c2
-rw-r--r--sys/kern/kern_synch.c3
4 files changed, 7 insertions, 4 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c
index 39ab3a0..4acc213 100644
--- a/sys/kern/init_main.c
+++ b/sys/kern/init_main.c
@@ -458,7 +458,8 @@ static char init_path[MAXPATHLEN] =
#else
"/sbin/init:/sbin/oinit:/sbin/init.bak:/stand/sysinstall";
#endif
-SYSCTL_STRING(_kern, OID_AUTO, init_path, CTLFLAG_RD, init_path, 0, "");
+SYSCTL_STRING(_kern, OID_AUTO, init_path, CTLFLAG_RD, init_path, 0,
+ "Path used to search the init process");
/*
* Start the initial user process; try exec'ing each pathname in init_path.
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index a338dca..5fa81a7 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -493,4 +493,5 @@ sysctl_kern_clockrate(SYSCTL_HANDLER_ARGS)
}
SYSCTL_PROC(_kern, KERN_CLOCKRATE, clockrate, CTLTYPE_STRUCT|CTLFLAG_RD,
- 0, 0, sysctl_kern_clockrate, "S,clockinfo","");
+ 0, 0, sysctl_kern_clockrate, "S,clockinfo",
+ "Rate and period of various kernel clocks");
diff --git a/sys/kern/kern_mib.c b/sys/kern/kern_mib.c
index 68129f3..a83b5df 100644
--- a/sys/kern/kern_mib.c
+++ b/sys/kern/kern_mib.c
@@ -83,7 +83,7 @@ SYSCTL_NODE(, OID_AUTO, regression, CTLFLAG_RW, 0,
#endif
SYSCTL_STRING(_kern, KERN_OSRELEASE, osrelease, CTLFLAG_RD,
- osrelease, 0, "Operating system type");
+ osrelease, 0, "Operating system release");
SYSCTL_INT(_kern, KERN_OSREV, osrevision, CTLFLAG_RD,
0, BSD, "Operating system revision");
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 58c735e..7034c0a 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -112,7 +112,8 @@ sysctl_kern_quantum(SYSCTL_HANDLER_ARGS)
}
SYSCTL_PROC(_kern, OID_AUTO, quantum, CTLTYPE_INT|CTLFLAG_RW,
- 0, sizeof sched_quantum, sysctl_kern_quantum, "I", "");
+ 0, sizeof sched_quantum, sysctl_kern_quantum, "I",
+ "Roundrobin scheduling quantum in microseconds");
/*
* Arrange to reschedule if necessary, taking the priorities and
OpenPOWER on IntegriCloud