aboutsummaryrefslogtreecommitdiff
path: root/elf/dlsym.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dlsym.c')
-rw-r--r--elf/dlsym.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/elf/dlsym.c b/elf/dlsym.c
index 3a4bd4ae69..0da1902178 100644
--- a/elf/dlsym.c
+++ b/elf/dlsym.c
@@ -66,8 +66,7 @@ RTLD_NEXT used in code not dynamically loaded"));
l = l->l_loader;
{
- struct link_map *map = l;
- struct link_map *mapscope[2] = { map, NULL };
+ struct link_map *mapscope[2] = { l, NULL };
args->loadbase = _dl_lookup_symbol_skip (args->name, &args->ref,
mapscope, NULL, match);
}