diff options
Diffstat (limited to 'nptl/pthread_exit.c')
-rw-r--r-- | nptl/pthread_exit.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nptl/pthread_exit.c b/nptl/pthread_exit.c index 9f48dcc..125f44b 100644 --- a/nptl/pthread_exit.c +++ b/nptl/pthread_exit.c @@ -31,9 +31,7 @@ __pthread_exit (void *value) " must be installed for pthread_exit to work\n"); } - THREAD_SETMEM (THREAD_SELF, result, value); - - __do_cancel (); + __do_cancel (value); } libc_hidden_def (__pthread_exit) weak_alias (__pthread_exit, pthread_exit) |