summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_exit.c')
-rw-r--r--sys/kern/kern_exit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index 2f3fb3a..dc3a658 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -157,8 +157,8 @@ exit1(struct thread *td, int rv)
PROC_LOCK(p);
while (p->p_flag & P_HADTHREADS) {
/*
- * First check if some other thread got here before us..
- * if so, act apropriatly, (exit or suspend);
+ * First check if some other thread got here before us.
+ * If so, act appropriately: exit or suspend.
*/
thread_suspend_check(0);
@@ -179,7 +179,7 @@ exit1(struct thread *td, int rv)
* re-check all suspension request, the thread should
* either be suspended there or exit.
*/
- if (! thread_single(SINGLE_EXIT))
+ if (!thread_single(SINGLE_EXIT))
break;
/*
OpenPOWER on IntegriCloud