From 7bd396d9121f99c03d503c36c247e05f60b614ba Mon Sep 17 00:00:00 2001 From: davidxu Date: Wed, 2 Jul 2003 13:23:03 +0000 Subject: [PATCH] Fix typo. --- lib/libkse/thread/thr_cancel.c | 2 +- lib/libpthread/thread/thr_cancel.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libkse/thread/thr_cancel.c b/lib/libkse/thread/thr_cancel.c index 57cefa28ee39..085f34943a0a 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 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;