summaryrefslogtreecommitdiff
path: root/pthread/pt-create.c
diff options
context:
space:
mode:
Diffstat (limited to 'pthread/pt-create.c')
-rw-r--r--pthread/pt-create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pthread/pt-create.c b/pthread/pt-create.c
index 210f967..8f62b78 100644
--- a/pthread/pt-create.c
+++ b/pthread/pt-create.c
@@ -195,7 +195,7 @@ __pthread_create_internal (struct __pthread **thread,
__pthread_sigstate_destroy (pthread);
failed_setup:
__pthread_thread_dealloc (pthread);
- __pthread_thread_halt (pthread, 0);
+ __pthread_thread_halt (pthread);
failed_thread_alloc:
__pthread_stack_dealloc (pthread->stackaddr, pthread->stacksize);
pthread->stack = 0;