diff options
Diffstat (limited to 'src/env')
-rw-r--r-- | src/env/__init_tls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/env/__init_tls.c b/src/env/__init_tls.c index efa07284..6cca9685 100644 --- a/src/env/__init_tls.c +++ b/src/env/__init_tls.c @@ -15,7 +15,7 @@ int __init_tp(void *p) if (r < 0) return -1; if (!r) libc.can_do_threads = 1; libc.has_thread_pointer = 1; - td->tid = td->pid = __syscall(SYS_set_tid_address, &td->tid); + td->tid = __syscall(SYS_set_tid_address, &td->tid); td->locale = &libc.global_locale; return 0; } |