aboutsummaryrefslogtreecommitdiff
path: root/dlfcn/dlopenold.c
diff options
context:
space:
mode:
Diffstat (limited to 'dlfcn/dlopenold.c')
-rw-r--r--dlfcn/dlopenold.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dlfcn/dlopenold.c b/dlfcn/dlopenold.c
index 3fc39d6999..d08427aef7 100644
--- a/dlfcn/dlopenold.c
+++ b/dlfcn/dlopenold.c
@@ -50,7 +50,7 @@ __dlopen_nocheck (const char *file, int mode)
{
struct dlopen_args args;
args.file = file;
- args.caller = __builtin_return_address (0);
+ args.caller = RETURN_ADDRESS (0);
if ((mode & RTLD_BINDING_MASK) == 0)
/* By default assume RTLD_LAZY. */