summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2003-07-02 13:23:03 +0000
committerdavidxu <davidxu@FreeBSD.org>2003-07-02 13:23:03 +0000
commit7bd396d9121f99c03d503c36c247e05f60b614ba (patch)
tree55c4c855657f529094719df8808e1a44b8f8a413
parentceee3c7367a9b82d740717c04ecd31328d020044 (diff)
downloadFreeBSD-src-7bd396d9121f99c03d503c36c247e05f60b614ba.zip
FreeBSD-src-7bd396d9121f99c03d503c36c247e05f60b614ba.tar.gz
Fix typo.
-rw-r--r--lib/libkse/thread/thr_cancel.c2
-rw-r--r--lib/libpthread/thread/thr_cancel.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libkse/thread/thr_cancel.c b/lib/libkse/thread/thr_cancel.c
index 57cefa2..085f349 100644
--- a/lib/libkse/thread/thr_cancel.c
+++ b/lib/libkse/thread/thr_cancel.c
@@ -75,7 +75,7 @@ _pthread_cancel(pthread_t pthread)
pthread->cancelflags |= THR_CANCELLING;
_thr_setrunnable_unlocked(pthread);
if ((joinee != NULL) &&
- (curthread->kseg == joinee->kseg)) {
+ (pthread->kseg == joinee->kseg)) {
/* Remove the joiner from the joinee. */
joinee->joiner = NULL;
joinee = NULL;
diff --git a/lib/libpthread/thread/thr_cancel.c b/lib/libpthread/thread/thr_cancel.c
index 57cefa2..085f349 100644
--- a/lib/libpthread/thread/thr_cancel.c
+++ b/lib/libpthread/thread/thr_cancel.c
@@ -75,7 +75,7 @@ _pthread_cancel(pthread_t pthread)
pthread->cancelflags |= THR_CANCELLING;
_thr_setrunnable_unlocked(pthread);
if ((joinee != NULL) &&
- (curthread->kseg == joinee->kseg)) {
+ (pthread->kseg == joinee->kseg)) {
/* Remove the joiner from the joinee. */
joinee->joiner = NULL;
joinee = NULL;
OpenPOWER on IntegriCloud