about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-15 17:06:43 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-15 17:06:43 +0000
commitea4d748699466c16acff05b7bc75fdda7ff3d8c2 (patch)
tree24a6a15be62d47268c0910ce231b3042de20f438 /elf
parent1ca62d4093eced82f5cb9452183a35540bd5364d (diff)
downloadglibc-ea4d748699466c16acff05b7bc75fdda7ff3d8c2.tar.gz
glibc-ea4d748699466c16acff05b7bc75fdda7ff3d8c2.tar.xz
glibc-ea4d748699466c16acff05b7bc75fdda7ff3d8c2.zip
(_dl_lookup_symbol_skip): Fix a typo.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-lookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-lookup.c b/elf/dl-lookup.c
index 2b58ff32aa..581c6a6c2b 100644
--- a/elf/dl-lookup.c
+++ b/elf/dl-lookup.c
@@ -306,7 +306,7 @@ _dl_lookup_symbol_skip (const char *undef_name,
   for (i = 0; (*scope)->r_duplist[i] != skip_map; ++i)
     assert (i < (*scope)->r_nduplist);
 
-  while (i >= (*scope)->r_nlist
+  if (i >= (*scope)->r_nlist
 	 || ! do_lookup (undef_name, hash, *ref, &current_value, *scope, i,
 			 skip_map, 0, 0))
     while (*++scope)