summaryrefslogtreecommitdiffstats
path: root/lib/libpthread/thread/thr_exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libpthread/thread/thr_exit.c')
-rw-r--r--lib/libpthread/thread/thr_exit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libpthread/thread/thr_exit.c b/lib/libpthread/thread/thr_exit.c
index 416709a..22aa875 100644
--- a/lib/libpthread/thread/thr_exit.c
+++ b/lib/libpthread/thread/thr_exit.c
@@ -125,11 +125,11 @@ _pthread_exit(void *status)
curkse = _get_curkse();
KSE_LOCK_ACQUIRE(curkse, &_thread_list_lock);
/* Use thread_list_lock */
- _thr_active_threads--;
+ _thread_active_threads--;
#ifdef SYSTEM_SCOPE_ONLY
- if (_thr_active_threads == 0) {
+ if (_thread_active_threads == 0) {
#else
- if (_thr_active_threads == 1) {
+ if (_thread_active_threads == 1) {
#endif
KSE_LOCK_RELEASE(curkse, &_thread_list_lock);
_kse_critical_leave(crit);
OpenPOWER on IntegriCloud