about summary refs log tree commit diff
path: root/nscd/pwdcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/pwdcache.c')
-rw-r--r--nscd/pwdcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c
index 95d6ec3a6a..2e54a773ff 100644
--- a/nscd/pwdcache.c
+++ b/nscd/pwdcache.c
@@ -215,7 +215,7 @@ addpwbyname (struct database *db, int fd, request_header *req,
       seteuid (c_uid);
     }
 
-  while (getpwnam_r (key, &resultbuf, buffer, buflen, &pwd) != 0
+  while (__getpwnam_r (key, &resultbuf, buffer, buflen, &pwd) != 0
 	 && errno == ERANGE)
     {
       errno = 0;
@@ -254,7 +254,7 @@ addpwbyuid (struct database *db, int fd, request_header *req,
       seteuid (c_uid);
     }
 
-  while (getpwuid_r (uid, &resultbuf, buffer, buflen, &pwd) != 0
+  while (__getpwuid_r (uid, &resultbuf, buffer, buflen, &pwd) != 0
 	 && errno == ERANGE)
     {
       errno = 0;