summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/env/__init_tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env/__init_tls.c b/src/env/__init_tls.c
index 3a1b1f56..eb2a6e4a 100644
--- a/src/env/__init_tls.c
+++ b/src/env/__init_tls.c
@@ -23,7 +23,7 @@ void *__copy_tls(unsigned char *mem)
td = (pthread_t)mem;
mem += sizeof(struct pthread);
#else
- mem += __libc.tls_size - sizeof(struct pthread);
+ mem += libc.tls_size - sizeof(struct pthread);
mem -= (uintptr_t)mem & (align-1);
td = (pthread_t)mem;
td->dtv = dtv;