diff options
-rw-r--r-- | sysdeps/generic/dl-tls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-tls.c b/sysdeps/generic/dl-tls.c index 5ec7249e34..19cf0aa072 100644 --- a/sysdeps/generic/dl-tls.c +++ b/sysdeps/generic/dl-tls.c @@ -294,7 +294,7 @@ _dl_allocate_tls_storage (void) /* Allocate a correctly aligned chunk of memory. */ result = __libc_memalign (GL(dl_tls_static_align), size); - if (__builtin_expect (result != NULL, 0)) + if (__builtin_expect (result != NULL, 1)) { /* Allocate the DTV. */ void *allocated = result; |