diff options
Diffstat (limited to 'nscd/grpcache.c')
-rw-r--r-- | nscd/grpcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/grpcache.c b/nscd/grpcache.c index 446e78ed28..7a591c81ae 100644 --- a/nscd/grpcache.c +++ b/nscd/grpcache.c @@ -217,7 +217,7 @@ addgrbyname (struct database *db, int fd, request_header *req, seteuid (uid); } - while (getgrnam_r (key, &resultbuf, buffer, buflen, &grp) != 0 + while (__getgrnam_r (key, &resultbuf, buffer, buflen, &grp) != 0 && errno == ERANGE) { errno = 0; @@ -256,7 +256,7 @@ addgrbygid (struct database *db, int fd, request_header *req, seteuid (uid); } - while (getgrgid_r (gid, &resultbuf, buffer, buflen, &grp) != 0 + while (__getgrgid_r (gid, &resultbuf, buffer, buflen, &grp) != 0 && errno == ERANGE) { errno = 0; |