about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-03-26 21:25:35 +0000
committerUlrich Drepper <drepper@redhat.com>2004-03-26 21:25:35 +0000
commit4ba541a978e7fcf28af4e2930f4136acd5fbcb22 (patch)
tree0c24d004786a975e751071d91f0a101fb8126ae3
parent596e1f3978ef6cf88fe90127d5693b509b1b409d (diff)
downloadglibc-4ba541a978e7fcf28af4e2930f4136acd5fbcb22.tar.gz
glibc-4ba541a978e7fcf28af4e2930f4136acd5fbcb22.tar.xz
glibc-4ba541a978e7fcf28af4e2930f4136acd5fbcb22.zip
Update.
2004-03-26  Ulrich Drepper  <drepper@redhat.com>

	* elf/dl-open.c (check_libc_caller): Fix typo.
-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 7c8709267b..35c88997a1 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 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;