about summary refs log tree commit diff
path: root/elf/dl-load.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-08-13 19:59:17 +0000
committerUlrich Drepper <drepper@redhat.com>1999-08-13 19:59:17 +0000
commitf9181e0e0634eb1227e55d318729a213ad2d5f87 (patch)
tree701511996f12726e39e08dd6bc9138bdd65f2d62 /elf/dl-load.c
parent5a260152e4d1e2e84b3e1e108963986370637da1 (diff)
downloadglibc-f9181e0e0634eb1227e55d318729a213ad2d5f87.tar.gz
glibc-f9181e0e0634eb1227e55d318729a213ad2d5f87.tar.xz
glibc-f9181e0e0634eb1227e55d318729a213ad2d5f87.zip
Update.
1999-08-13  Ulrich Drepper  <drepper@cygnus.com>

	* po/fr.po: Update.
Diffstat (limited to 'elf/dl-load.c')
-rw-r--r--elf/dl-load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 2f3e878e7a..eb3c41577a 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -744,8 +744,8 @@ _dl_map_object_from_fd (const char *name, int fd, char *realname,
   header = (void *) readbuf;
 
   /* Check the header for basic validity.  */
-  if (__builtin_expect (VALID_ELF_HEADER (header->e_ident, expected, EI_PAD),
-			0) != 0)
+  if (__builtin_expect (!VALID_ELF_HEADER (header->e_ident, expected, EI_PAD),
+			0))
     {
       /* Something is wrong.  */
       if (*(Elf32_Word *) &header->e_ident !=