summaryrefslogtreecommitdiff
path: root/libpthread/pthread/pt-create.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/pthread/pt-create.c')
-rw-r--r--libpthread/pthread/pt-create.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/pthread/pt-create.c b/libpthread/pthread/pt-create.c
index 5bb9f1f..504cacc 100644
--- a/libpthread/pthread/pt-create.c
+++ b/libpthread/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;