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