aboutsummaryrefslogtreecommitdiff
path: root/nptl/pthread_create.c
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/pthread_create.c')
-rw-r--r--nptl/pthread_create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/pthread_create.c b/nptl/pthread_create.c
index 6ed5200e33..1d342786f4 100644
--- a/nptl/pthread_create.c
+++ b/nptl/pthread_create.c
@@ -225,7 +225,7 @@ start_thread (void *arg)
if (setjmp (pd->cancelbuf) == 0)
{
/* Run the code the user provided. */
- pd->result = pd->start_routine (pd->arg);
+ THREAD_SETMEM (pd, result, pd->start_routine (pd->arg));
}
/* The thread is exiting now. */