aboutsummaryrefslogtreecommitdiff
path: root/dlfcn/dlsym.c
diff options
context:
space:
mode:
Diffstat (limited to 'dlfcn/dlsym.c')
-rw-r--r--dlfcn/dlsym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dlfcn/dlsym.c b/dlfcn/dlsym.c
index 6b03b7b..43044cf 100644
--- a/dlfcn/dlsym.c
+++ b/dlfcn/dlsym.c
@@ -63,7 +63,7 @@ void *
___dlsym (void *handle, const char *name)
{
if (!rtld_active ())
- return _dlfcn_hook->dlsym (handle, name, RETURN_ADDRESS (0));
+ return GLRO (dl_dlfcn_hook)->dlsym (handle, name, RETURN_ADDRESS (0));
else
return dlsym_implementation (handle, name, RETURN_ADDRESS (0));
}