summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_synch.c
diff options
context:
space:
mode:
authordavide <davide@FreeBSD.org>2013-06-28 21:04:15 +0000
committerdavide <davide@FreeBSD.org>2013-06-28 21:04:15 +0000
commit3ca83727a06f524a69b1ae00f7f17e660111be1b (patch)
treef3461513a61d6f36818cc8d5704a1e46886129e7 /sys/kern/kern_synch.c
parent0dd1d9c578ddc35507ac2072c5062f5d57c53147 (diff)
downloadFreeBSD-src-3ca83727a06f524a69b1ae00f7f17e660111be1b.zip
FreeBSD-src-3ca83727a06f524a69b1ae00f7f17e660111be1b.tar.gz
Correct the comment above _sleep() function which still mentions 'timo'
instead of 'sbintime_t'. Reported by: kan
Diffstat (limited to 'sys/kern/kern_synch.c')
-rw-r--r--sys/kern/kern_synch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_synch.c b/sys/kern/kern_synch.c
index 33d2db5..84b1c61 100644
--- a/sys/kern/kern_synch.c
+++ b/sys/kern/kern_synch.c
@@ -132,7 +132,7 @@ sleepinit(void)
/*
* General sleep call. Suspends the current thread until a wakeup is
* performed on the specified identifier. The thread will then be made
- * runnable with the specified priority. Sleeps at most timo/hz seconds
+ * runnable with the specified priority. Sleeps at most sbt units of time
* (0 means no timeout). If pri includes the PCATCH flag, let signals
* interrupt the sleep, otherwise ignore them while sleeping. Returns 0 if
* awakened, EWOULDBLOCK if the timeout expires. If PCATCH is set and a
OpenPOWER on IntegriCloud