diff options
Diffstat (limited to 'elf/dlvsym.c')
-rw-r--r-- | elf/dlvsym.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dlvsym.c b/elf/dlvsym.c index 989e87b..cee0e7f 100644 --- a/elf/dlvsym.c +++ b/elf/dlvsym.c @@ -43,7 +43,7 @@ dlvsym_doit (void *a) struct dlvsym_args *args = (struct dlvsym_args *)a; args->ref = NULL; - if (args->handle == NULL) + if (args->handle == RTLD_DEFAULT) /* Search the global scope. */ args->loadbase = _dl_lookup_versioned_symbol (args->name, &args->ref, _dl_global_scope, |