about summary refs log tree commit diff
path: root/dlfcn/dlopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'dlfcn/dlopen.c')
-rw-r--r--dlfcn/dlopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dlfcn/dlopen.c b/dlfcn/dlopen.c
index 8bf2752d9c..c5e5f1e044 100644
--- a/dlfcn/dlopen.c
+++ b/dlfcn/dlopen.c
@@ -65,7 +65,7 @@ dlopen_doit (void *a)
 
   args->new = GLRO(dl_open) (args->file ?: "", args->mode | __RTLD_DLOPEN,
 			     args->caller,
-			     args->file == NULL ? LM_ID_BASE : NS,
+			     NS,
 			     __dlfcn_argc, __dlfcn_argv, __environ);
 }