about summary refs log tree commit diff
path: root/nss
diff options
context:
space:
mode:
Diffstat (limited to 'nss')
-rw-r--r--nss/nsswitch.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nss/nsswitch.c b/nss/nsswitch.c
index 644343a030..e4f475868e 100644
--- a/nss/nsswitch.c
+++ b/nss/nsswitch.c
@@ -292,10 +292,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);
 }
 #endif