diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-02-08 19:37:57 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-02-08 19:37:57 +0100 |
commit | 5eb8bf00737bafdeb78b0df2688876f538d74857 (patch) | |
tree | f9b8e49d66f3d2bb4819108867ca4b852de49bef /mach | |
parent | db4857c035a52a01f337a8ef6fe70ac08ad66ad5 (diff) |
Address some of Roland McGrath comments
Diffstat (limited to 'mach')
-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 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); |