summaryrefslogtreecommitdiffstats
path: root/lib/libthr
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-06-17 04:18:30 +0000
committerkib <kib@FreeBSD.org>2015-06-17 04:18:30 +0000
commitf8bd6ef5beff626001bcd1e8af652a5d043df593 (patch)
tree02f2fac6e233f2569d807e3e19f1b939da96cde9 /lib/libthr
parent92b6a8541a0d6eebffda13be78a26164dd9ed3a2 (diff)
downloadFreeBSD-src-f8bd6ef5beff626001bcd1e8af652a5d043df593.zip
FreeBSD-src-f8bd6ef5beff626001bcd1e8af652a5d043df593.tar.gz
MFC r284385:
Fix typo in comment.
Diffstat (limited to 'lib/libthr')
-rw-r--r--lib/libthr/thread/thr_sig.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libthr/thread/thr_sig.c b/lib/libthr/thread/thr_sig.c
index 11a131c..a6d021f 100644
--- a/lib/libthr/thread/thr_sig.c
+++ b/lib/libthr/thread/thr_sig.c
@@ -293,8 +293,8 @@ check_cancel(struct pthread *curthread, ucontext_t *ucp)
* 2) because _thr_ast() may be called by
* THR_CRITICAL_LEAVE() which is used by rtld rwlock
* and any libthr internal locks, when rtld rwlock
- * is used, it is mostly caused my an unresolved PLT.
- * those routines may clear the TDP_WAKEUP flag by
+ * is used, it is mostly caused by an unresolved PLT.
+ * Those routines may clear the TDP_WAKEUP flag by
* invoking some system calls, in those cases, we
* also should reenable the flag.
* 3) thread is in sigsuspend(), and the syscall insists
OpenPOWER on IntegriCloud