diff options
Diffstat (limited to 'sysdeps/mach/hurd/pt-sysdep.c')
-rw-r--r-- | sysdeps/mach/hurd/pt-sysdep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/pt-sysdep.c b/sysdeps/mach/hurd/pt-sysdep.c index 118b264..40ebc8e 100644 --- a/sysdeps/mach/hurd/pt-sysdep.c +++ b/sysdeps/mach/hurd/pt-sysdep.c @@ -44,14 +44,14 @@ _init_routine (void *stack) int err; pthread_attr_t attr, *attrp = 0; - if (__pthread_threads) + if (__pthread_threads != NULL) /* Already initialized */ return 0; /* Initialize the library. */ ___pthread_init (); - if (stack) + if (stack != NULL) { /* We are getting initialized due to dlopening a library using libpthread while the main program was not linked against libpthread. */ |