diff options
Diffstat (limited to 'sysdeps/mach/hurd/pt-sysdep.c')
-rw-r--r-- | sysdeps/mach/hurd/pt-sysdep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/pt-sysdep.c b/sysdeps/mach/hurd/pt-sysdep.c index b23d9df..63e71e8 100644 --- a/sysdeps/mach/hurd/pt-sysdep.c +++ b/sysdeps/mach/hurd/pt-sysdep.c @@ -59,7 +59,7 @@ _init_routine (void *stack) /* Avoid allocating another stack */ attrp = &attr; pthread_attr_init(attrp); - pthread_attr_setstack(attrp, __libc_stack_end, __vm_page_size); + pthread_attr_setstack(attrp, stack, __vm_page_size); } /* Create the pthread structure for the main thread (i.e. us). */ |