aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_sig.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2013-03-18 18:04:09 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2013-03-18 18:04:09 +0000
commit1968f37bc95af6a198b66d752791fc2acf4211b5 (patch)
tree5ffb4405c6a1b66e9849ed1e865ad1f54b7bd579 /sys/kern/kern_sig.c
parent3cf3b9f0972e90401cafe8332f94669cbe3e1480 (diff)
downloadsrc-1968f37bc95af6a198b66d752791fc2acf4211b5.tar.gz
src-1968f37bc95af6a198b66d752791fc2acf4211b5.zip
Tweak some comments.
Notes
Notes: svn path=/head/; revision=248471
Diffstat (limited to 'sys/kern/kern_sig.c')
-rw-r--r--sys/kern/kern_sig.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/kern_sig.c b/sys/kern/kern_sig.c
index 51d1b1887189..6407edf441fa 100644
--- a/sys/kern/kern_sig.c
+++ b/sys/kern/kern_sig.c
@@ -560,8 +560,8 @@ sigqueue_delete_stopmask_proc(struct proc *p)
}
/*
- * Determine signal that should be delivered to process p, the current
- * process, 0 if none. If there is a pending stop signal with default
+ * Determine signal that should be delivered to thread td, the current
+ * thread, 0 if none. If there is a pending stop signal with default
* action, the process stops in issignal().
*/
int
@@ -2148,9 +2148,9 @@ tdsendsignal(struct proc *p, struct thread *td, int sig, ksiginfo_t *ksi)
* Some signals have a process-wide effect and a per-thread
* component. Most processing occurs when the process next
* tries to cross the user boundary, however there are some
- * times when processing needs to be done immediatly, such as
+ * times when processing needs to be done immediately, such as
* waking up threads so that they can cross the user boundary.
- * We try do the per-process part here.
+ * We try to do the per-process part here.
*/
if (P_SHOULDSTOP(p)) {
KASSERT(!(p->p_flag & P_WEXIT),