aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--elf/dl-open.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7c87092..35c8899 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2004-03-26 Ulrich Drepper <drepper@redhat.com>
+
+ * elf/dl-open.c (check_libc_caller): Fix typo.
+
2004-03-26 Jakub Jelinek <jakub@redhat.com>
* elf/tst-dlmodcount.c: Include stddef.h and stdlib.h.
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 8af6eef..47db84c 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;