summaryrefslogtreecommitdiff
path: root/src/env/__init_tls.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/env/__init_tls.c')
-rw-r--r--src/env/__init_tls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/env/__init_tls.c b/src/env/__init_tls.c
index e651c7a7..ac4d9e7f 100644
--- a/src/env/__init_tls.c
+++ b/src/env/__init_tls.c
@@ -18,6 +18,7 @@ int __init_tp(void *p)
libc.has_thread_pointer = 1;
td->tid = __syscall(SYS_set_tid_address, &td->tid);
td->locale = &libc.global_locale;
+ td->robust_list.head = &td->robust_list.head;
return 0;
}