diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-03-25 02:33:38 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2015-03-25 02:33:38 +0100 |
commit | 9ca47fe88f480d0137356e82f5ad12f0ca65f399 (patch) | |
tree | 49cd894aa49b072ab95a3005122b4d92efad9586 /mach | |
parent | 189754f96136b0122d286d90de97026e9505fd74 (diff) | |
parent | 5eb8bf00737bafdeb78b0df2688876f538d74857 (diff) |
Merge branch 't/tls' into refs/top-bases/tschwinge/Roger_Whittaker
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 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); |