summaryrefslogtreecommitdiff
path: root/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-02-08 19:37:57 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-02-08 19:37:57 +0100
commit5eb8bf00737bafdeb78b0df2688876f538d74857 (patch)
treef9b8e49d66f3d2bb4819108867ca4b852de49bef /mach
parentdb4857c035a52a01f337a8ef6fe70ac08ad66ad5 (diff)
Address some of Roland McGrath comments
Diffstat (limited to 'mach')
-rw-r--r--mach/setup-thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mach/setup-thread.c b/mach/setup-thread.c
index 3a57125269..23f004d396 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);