summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd/i386/pt-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/i386/pt-setup.c')
-rw-r--r--sysdeps/mach/hurd/i386/pt-setup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/i386/pt-setup.c b/sysdeps/mach/hurd/i386/pt-setup.c
index b498e50..a59f71b 100644
--- a/sysdeps/mach/hurd/i386/pt-setup.c
+++ b/sysdeps/mach/hurd/i386/pt-setup.c
@@ -49,7 +49,7 @@ stack_setup (struct __pthread *thread,
+ ((thread->guardsize + __vm_page_size - 1)
/ __vm_page_size) * __vm_page_size);
- if (start_routine)
+ if (start_routine != NULL)
{
/* And then the call frame. */
top -= 3;