summaryrefslogtreecommitdiff
path: root/lib/libpthread/thread/thr_cancel.c
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2003-07-02 13:23:03 +0000
committerDavid Xu <davidxu@FreeBSD.org>2003-07-02 13:23:03 +0000
commiteb2bb9e57497da183b64f8c188edf95aadd70573 (patch)
tree55c4c855657f529094719df8808e1a44b8f8a413 /lib/libpthread/thread/thr_cancel.c
parent0be33d3321b6e3a8cb1796e8720ac2c47875d43b (diff)
Notes
Diffstat (limited to 'lib/libpthread/thread/thr_cancel.c')
-rw-r--r--lib/libpthread/thread/thr_cancel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libpthread/thread/thr_cancel.c b/lib/libpthread/thread/thr_cancel.c
index 57cefa28ee39..085f34943a0a 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;