diff options
Diffstat (limited to 'nptl/init.c')
-rw-r--r-- | nptl/init.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/init.c b/nptl/init.c index 6ed65d309e..7704e9f507 100644 --- a/nptl/init.c +++ b/nptl/init.c @@ -172,7 +172,8 @@ __pthread_initialize_minimal_internal (void) /* Minimal initialization of the thread descriptor. */ struct pthread *pd = THREAD_SELF; - pd->tid = INTERNAL_SYSCALL (set_tid_address, 1, &pd->tid); + INTERNAL_SYSCALL_DECL (err); + pd->tid = INTERNAL_SYSCALL (set_tid_address, err, 1, &pd->tid); THREAD_SETMEM (pd, specific[0], &pd->specific_1stblock[0]); THREAD_SETMEM (pd, user_stack, true); if (LLL_LOCK_INITIALIZER != 0) |