summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/getgrent.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libc/gen/getgrent.c b/lib/libc/gen/getgrent.c
index 34c8d06..b4829fe 100644
--- a/lib/libc/gen/getgrent.c
+++ b/lib/libc/gen/getgrent.c
@@ -290,9 +290,11 @@ grscan(search, gid, name)
break;
#endif
if (!(cp = strsep(&bp, ":\n")))
+#ifdef YP
if (_ypfound)
return(1);
else
+#endif
continue;
#ifdef YP
/*
OpenPOWER on IntegriCloud