summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/getservent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/net/getservent.c b/lib/libc/net/getservent.c
index d28f40c..78d6df1 100644
--- a/lib/libc/net/getservent.c
+++ b/lib/libc/net/getservent.c
@@ -227,14 +227,14 @@ again:
#ifdef YP
if (*p == '+' && _yp_check(NULL)) {
if (___getservbyname_yp != NULL) {
- if (!_getservbyname_yp(&line))
+ if (!_getservbyname_yp(line))
goto tryagain;
}
else if (___getservbyport_yp != 0) {
- if (!_getservbyport_yp(&line))
+ if (!_getservbyport_yp(line))
goto tryagain;
}
- else if (!_getservent_yp(&line))
+ else if (!_getservent_yp(line))
goto tryagain;
}
unpack:
OpenPOWER on IntegriCloud