(_dl_allocate_tls_storage): Fix reversed __builtin_expect expectation.

This commit is contained in:
Ulrich Drepper 2003-03-06 06:40:43 +00:00
parent 5fc728a23a
commit 92f6b65e0a

View File

@ -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;