aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-load.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-load.c')
-rw-r--r--elf/dl-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 873a0bad4b..44efb11da0 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -1514,7 +1514,7 @@ _dl_map_object (struct link_map *loader, const char *name, int preloaded,
/* If the requested name matches the soname of a loaded object,
use that object. Elide this check for names that have not
yet been opened. */
- if (l->l_faked == 0)
+ if (l->l_faked != 0)
continue;
if (!_dl_name_match_p (name, l))
{