diff options
Diffstat (limited to 'mach/setup-thread.c')
-rw-r--r-- | mach/setup-thread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mach/setup-thread.c b/mach/setup-thread.c index f4e3a28a41..2fab79c391 100644 --- a/mach/setup-thread.c +++ b/mach/setup-thread.c @@ -94,7 +94,7 @@ __mach_setup_tls (thread_t thread) assert (tssize == MACHINE_THREAD_STATE_COUNT); tcb = _dl_allocate_tls (NULL); - if (!tcb) + if (tcb == NULL) return KERN_RESOURCE_SHORTAGE; _hurd_tls_new (thread, &ts, tcb); |