summaryrefslogtreecommitdiff
path: root/sys/kern/kern_thread.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2004-10-12 19:36:00 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2004-10-12 19:36:00 +0000
commitebcfea8764fae2a0c4a50f4438a55a72a6a710f4 (patch)
treead859705811102289b6db5db8c21992475800799 /sys/kern/kern_thread.c
parentb63c18f291c3f8ed6714f9350e2114c68d610d3a (diff)
Notes
Diffstat (limited to 'sys/kern/kern_thread.c')
-rw-r--r--sys/kern/kern_thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
index 835ca80a846e..21d7000eba4d 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -1069,7 +1069,7 @@ thread_single_end(void)
* to continue however as this is a bad place to stop.
*/
if ((p->p_numthreads != 1) && (!P_SHOULDSTOP(p))) {
- while (( td = TAILQ_FIRST(&p->p_suspended))) {
+ while ((td = TAILQ_FIRST(&p->p_suspended))) {
thread_unsuspend_one(td);
}
}