aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'linuxthreads/manager.c')
-rw-r--r--linuxthreads/manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linuxthreads/manager.c b/linuxthreads/manager.c
index 5d7014ab72..33c791cdbb 100644
--- a/linuxthreads/manager.c
+++ b/linuxthreads/manager.c
@@ -510,8 +510,8 @@ static void pthread_free(pthread_descr th)
handle->h_descr = NULL;
handle->h_bottom = (char *)(-1L);
__pthread_spin_unlock(&handle->h_lock);
-#ifdef FREE_THREAD_SELF
- FREE_THREAD_SELF(th, th->p_nr);
+#ifdef FREE_THREAD
+ FREE_THREAD(th, th->p_nr);
#endif
/* One fewer threads in __pthread_handles */
__pthread_handles_num--;