diff options
author | Roland McGrath <roland@hack.frob.com> | 2014-10-13 11:12:28 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2014-10-13 11:12:28 -0700 |
commit | 53544380266a8eb38bef9389562fba3ed58a0d11 (patch) | |
tree | d040f7c483990e8cf4bb8e11102f15c04a2f6514 /elf/dl-sym.c | |
parent | fcb32af153a745414b0d949e707c9485ab77d6ba (diff) | |
download | glibc-53544380266a8eb38bef9389562fba3ed58a0d11.zip glibc-53544380266a8eb38bef9389562fba3ed58a0d11.tar.gz glibc-53544380266a8eb38bef9389562fba3ed58a0d11.tar.bz2 |
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 69671c1..205de4a 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 |