summary refs log tree commit diff
path: root/iconv/gconv_dl.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/gconv_dl.c')
-rw-r--r--iconv/gconv_dl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iconv/gconv_dl.c b/iconv/gconv_dl.c
index e0471b0de6..1c04dee169 100644
--- a/iconv/gconv_dl.c
+++ b/iconv/gconv_dl.c
@@ -100,10 +100,10 @@ static void
 get_sym (void *a)
 {
   struct get_sym_args *args = (struct get_sym_args *) a;
-  struct link_map *scope[2] = { args->map, NULL };
   args->ref = NULL;
   args->loadbase = _dl_lookup_symbol (args->name, &args->ref,
-				      scope, args->map->l_name, 0);
+				      args->map->l_local_scope,
+				      args->map->l_name, 0);
 }