From e6ac10e460aefea0c6215699db45a27870291705 Mon Sep 17 00:00:00 2001 From: midipix Date: Sat, 28 Oct 2017 14:42:56 -0400 Subject: ldso: implemented dlinfo(). --- src/ldso/nt64/dynlink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ldso/nt64') 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) -- cgit v1.2.3