aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 8af6eefb46..47db84c867 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -183,7 +183,7 @@ check_libc_caller (const void *caller)
expected1_from = (const void *) l->l_map_start;
expected1_to = (const void *) l->l_map_end;
}
- else if (strcmp (expected1, l->l_name) == 0)
+ else if (strcmp (expected2, l->l_name) == 0)
{
is_2:
expected2_from = (const void *) l->l_map_start;