summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/dlfcn.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/gen/dlfcn.c')
-rw-r--r--lib/libc/gen/dlfcn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/dlfcn.c b/lib/libc/gen/dlfcn.c
index 25aa945..be58e28 100644
--- a/lib/libc/gen/dlfcn.c
+++ b/lib/libc/gen/dlfcn.c
@@ -109,7 +109,7 @@ int
dlinfo(void * __restrict handle, int request, void * __restrict p)
{
_rtld_error(sorry);
- return NULL;
+ return 0;
}
#pragma weak _rtld_thread_init
OpenPOWER on IntegriCloud