]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix one more leftover from the GL thing.
authorUlrich Drepper <drepper@redhat.com>
Sat, 2 Mar 2002 00:50:05 +0000 (00:50 +0000)
committerUlrich Drepper <drepper@redhat.com>
Sat, 2 Mar 2002 00:50:05 +0000 (00:50 +0000)
elf/dl-load.c

index dd1b50fa9a0b1b28cb9cb669b167a0d73a7e3ae1..759dce4c19dbea29e9c5a5e90a658bc26d966c0f 100644 (file)
@@ -1186,7 +1186,7 @@ _dl_map_object_from_fd (const char *name, int fd, struct filebuf *fbp,
 
   /* When we profile the SONAME might be needed for something else but
      loading.  Add it right away.  */
-  if (__builtin_expect (_dl_profile) != NULL, 0)
+  if (__builtin_expect (_dl_profile != NULL, 0)
       && l->l_info[DT_SONAME] != NULL)
     add_name_to_object (l, ((const char *) D_PTR (l, l_info[DT_STRTAB])
                            + l->l_info[DT_SONAME]->d_un.d_val));