aboutsummaryrefslogtreecommitdiff
path: root/dlfcn/dlclose.c
diff options
context:
space:
mode:
Diffstat (limited to 'dlfcn/dlclose.c')
-rw-r--r--dlfcn/dlclose.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dlfcn/dlclose.c b/dlfcn/dlclose.c
index 4d5d307ab1..6a013a81bb 100644
--- a/dlfcn/dlclose.c
+++ b/dlfcn/dlclose.c
@@ -25,7 +25,7 @@ __dlclose (void *handle)
{
#ifdef SHARED
if (!rtld_active ())
- return _dlfcn_hook->dlclose (handle);
+ return GLRO (dl_dlfcn_hook)->dlclose (handle);
#endif
return _dlerror_run (GLRO (dl_close), handle) ? -1 : 0;