]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add a hunk lost in merge
authorStan Shebs <stanshebs@google.com>
Thu, 29 Mar 2018 03:31:52 +0000 (20:31 -0700)
committerStan Shebs <stanshebs@google.com>
Thu, 29 Mar 2018 03:31:52 +0000 (20:31 -0700)
dlfcn/dlopen.c

index c35a9eb66b2969d89fc29ebc058d96ade00f4036..faf7a48ea71df186b3581235bffcc7a3692f1325 100644 (file)
@@ -96,6 +96,14 @@ __dlopen_with_offset (const char *file, off_t offset, int mode DL_CALLER_DECL)
 {
   if (!rtld_active ())
     return _dlfcn_hook->dlopen_with_offset (file, offset, mode, DL_CALLER);
+
+  struct dlopen_args oargs;
+  oargs.file = file;
+  oargs.offset = offset;
+  oargs.mode = mode;
+  oargs.caller = DL_CALLER;
+
+  return __dlopen_common (&oargs);
 }
 strong_alias (__dlopen_with_offset, __google_dlopen_with_offset)
 # endif