summaryrefslogtreecommitdiff
path: root/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'exit.c')
-rw-r--r--exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exit.c b/exit.c
index e74c843..93d8a0b 100644
--- a/exit.c
+++ b/exit.c
@@ -69,5 +69,5 @@ _pthread_exit(pthread_t thread, void * value, int return_code)
void
pthread_exit(void * value)
{
- _pthread_exit(pthread_this(), value, 0);
+ _pthread_exit(pthread_self(), value, 0);
}