diff options
Diffstat (limited to 'lib/libpthread/thread')
-rw-r--r-- | lib/libpthread/thread/thr_cancel.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |