diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-03-06 06:40:43 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-03-06 06:40:43 +0000 |
commit | 92f6b65e0a5baf15c7bcd53908fb0cd639e582cd (patch) | |
tree | 26046305718bc7865167c818ec349a5c7118f846 /sysdeps/generic/dl-tls.c | |
parent | 5fc728a23a4e7c1527e6e2fd56a5082122a7963e (diff) | |
download | glibc-92f6b65e0a5baf15c7bcd53908fb0cd639e582cd.tar.gz glibc-92f6b65e0a5baf15c7bcd53908fb0cd639e582cd.tar.xz glibc-92f6b65e0a5baf15c7bcd53908fb0cd639e582cd.zip |
(_dl_allocate_tls_storage): Fix reversed __builtin_expect expectation.
Diffstat (limited to 'sysdeps/generic/dl-tls.c')
-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; |