diff options
author | Florian Weimer <fweimer@redhat.com> | 2022-08-04 17:54:48 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2022-08-04 17:54:48 +0200 |
commit | ed0185e4129130cbe081c221efb758fb400623ce (patch) | |
tree | f0df86f0d0876a61870f152618f3a22ee698a38f /dlfcn | |
parent | 6c93af6b458031ebba5484bdc0029ad92720d51d (diff) | |
download | glibc-ed0185e4129130cbe081c221efb758fb400623ce.zip glibc-ed0185e4129130cbe081c221efb758fb400623ce.tar.gz glibc-ed0185e4129130cbe081c221efb758fb400623ce.tar.bz2 |
dlfcn: Pass caller pointer to static dlopen implementation (bug 29446)
Fixes commit 0c1c3a771eceec46e66ce1183cf988e2303bd373 ("dlfcn: Move
dlopen into libc").
Diffstat (limited to 'dlfcn')
-rw-r--r-- | dlfcn/dlopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dlfcn/dlopen.c b/dlfcn/dlopen.c index 2696dde..9b07b4e 100644 --- a/dlfcn/dlopen.c +++ b/dlfcn/dlopen.c @@ -90,7 +90,7 @@ compat_symbol (libdl, ___dlopen, dlopen, GLIBC_2_1); void * __dlopen (const char *file, int mode, void *dl_caller) { - return dlopen_implementation (file, mode, RETURN_ADDRESS (0)); + return dlopen_implementation (file, mode, dl_caller); } void * |