diff options
Diffstat (limited to 'elf/dl-sym.c')
-rw-r--r-- | elf/dl-sym.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/elf/dl-sym.c b/elf/dl-sym.c index 69671c172f..205de4a950 100644 --- a/elf/dl-sym.c +++ b/elf/dl-sym.c @@ -154,11 +154,11 @@ do_sym (void *handle, const char *name, void *who, RTLD_NEXT used in code not dynamically loaded")); } - struct link_map *l = match; - while (l->l_loader != NULL) - l = l->l_loader; + struct link_map *next = match; + while (next->l_loader != NULL) + next = next->l_loader; - result = GLRO(dl_lookup_symbol_x) (name, match, &ref, l->l_local_scope, + result = GLRO(dl_lookup_symbol_x) (name, match, &ref, next->l_local_scope, vers, 0, 0, match); } else |