summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2004-07-16 21:01:52 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2004-07-16 21:01:52 +0000
commitd3373e371b171cac7ac8cbcfa56c2d80af6dd8b7 (patch)
treebccc3d7acab807bcce54af4499a1719cf77d1808
parent6dbc08501685b04a254f25f04803ae439dd3b9c4 (diff)
Notes
-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 def5412bdb09..35e1048ba67a 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -1066,7 +1066,7 @@ thread_unsuspend(struct proc *p)
mtx_assert(&sched_lock, MA_OWNED);
PROC_LOCK_ASSERT(p, MA_OWNED);
if (!P_SHOULDSTOP(p)) {
- while (( td = TAILQ_FIRST(&p->p_suspended))) {
+ while ((td = TAILQ_FIRST(&p->p_suspended))) {
thread_unsuspend_one(td);
}
} else if ((P_SHOULDSTOP(p) == P_STOPPED_SINGLE) &&