summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib/libc/resolv/resolv.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/regression/lib/libc/resolv/resolv.c')
-rw-r--r--tools/regression/lib/libc/resolv/resolv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/regression/lib/libc/resolv/resolv.c b/tools/regression/lib/libc/resolv/resolv.c
index c61d02e..d481ecf 100644
--- a/tools/regression/lib/libc/resolv/resolv.c
+++ b/tools/regression/lib/libc/resolv/resolv.c
@@ -226,7 +226,7 @@ resolvloop(void *p)
{
int *nhosts = (int *)p;
if (*nhosts == 0)
- return;
+ return NULL;
do
resolvone(*nhosts);
while (--(*nhosts));
OpenPOWER on IntegriCloud