aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2012-09-07 15:10:46 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2012-09-07 15:10:46 +0000
commit773e3b7ddadd13383d06aa51fa0adfb89228e045 (patch)
tree27a504234d691273f3523cc524a2429d12d5ac17 /sys
parent35db6424992f06a89eebbffd9e69eb335f1ff5e5 (diff)
downloadsrc-773e3b7ddadd13383d06aa51fa0adfb89228e045.tar.gz
src-773e3b7ddadd13383d06aa51fa0adfb89228e045.zip
A few whitespace and comment fixes.
Notes
Notes: svn path=/head/; revision=240204
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/kern_exit.c6
-rw-r--r--sys/kern/kern_thread.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index 2f3fb3aeae39..dc3a6581af75 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;
/*
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
index 05998f1d1332..c4ad7b84a4b5 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -718,7 +718,7 @@ stopme:
/*
* We have gotten rid of all the other threads and we
* are about to either exit or exec. In either case,
- * we try our utmost to revert to being a non-threaded
+ * we try our utmost to revert to being a non-threaded
* process.
*/
p->p_singlethread = NULL;