aboutsummaryrefslogtreecommitdiff
path: root/nptl/sysdeps
diff options
context:
space:
mode:
Diffstat (limited to 'nptl/sysdeps')
-rw-r--r--nptl/sysdeps/unix/sysv/linux/i386/createthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nptl/sysdeps/unix/sysv/linux/i386/createthread.c b/nptl/sysdeps/unix/sysv/linux/i386/createthread.c
index f9abce2df2..be2ca829ab 100644
--- a/nptl/sysdeps/unix/sysv/linux/i386/createthread.c
+++ b/nptl/sysdeps/unix/sysv/linux/i386/createthread.c
@@ -146,7 +146,7 @@ create_thread (struct pthread *pd, STACK_VARIABLES_PARMS)
return errno;
/* We now have for sure more than one thread. */
- pd->header.data.multiple_threads = 1;
+ THREAD_SETMEM (THREAD_SELF, header.data.multiple_threads, 1);
return 0;
}