summaryrefslogtreecommitdiffhomepage
path: root/src/ldso/nt64
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-10-28 14:42:56 -0400
committermidipix <writeonce@midipix.org>2017-10-28 18:12:39 -0400
commite6ac10e460aefea0c6215699db45a27870291705 (patch)
tree4d5bb7e7483466608179eee655f52ec3b8b5fd29 /src/ldso/nt64
parentb82ad85e94da3965ea351224efa56f79158737b0 (diff)
downloadmmglue-e6ac10e460aefea0c6215699db45a27870291705.tar.bz2
mmglue-e6ac10e460aefea0c6215699db45a27870291705.tar.xz
ldso: implemented dlinfo().
Diffstat (limited to 'src/ldso/nt64')
-rw-r--r--src/ldso/nt64/dynlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ldso/nt64/dynlink.c b/src/ldso/nt64/dynlink.c
index 28f3334..cd317d5 100644
--- a/src/ldso/nt64/dynlink.c
+++ b/src/ldso/nt64/dynlink.c
@@ -111,7 +111,7 @@ int __dladdr(const void * addr, Dl_info * info)
int __dlinfo(void * dso, int req, void * res)
{
- return __ldso_vtbl->dlinfo(dso,req,res);
+ return (__ldso_vtbl->dlinfo(dso,req,res)) ? -1 : 0;
}
void *__dlsym(void * restrict p, const char * restrict s)