summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--sunrpc/auth_unix.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 561f3ed5fa..b0389d2b77 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-07-14  Ulrich Drepper  <drepper@cygnus.com>
+
+	* sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
+	instead of sysconf.
+
 1998-07-14 19:39  Ulrich Drepper  <drepper@cygnus.com>
 
 	* stdio-common/vfscanf.c (ungetc): Use _IO_sputbackc, not _IO_ungetc.
diff --git a/sunrpc/auth_unix.c b/sunrpc/auth_unix.c
index 091735e519..c4c001abf5 100644
--- a/sunrpc/auth_unix.c
+++ b/sunrpc/auth_unix.c
@@ -172,7 +172,7 @@ authunix_create_default (void)
   char machname[MAX_MACHINE_NAME + 1];
   uid_t uid;
   gid_t gid;
-  int max_nr_groups = sysconf (_SC_NGROUPS_MAX);
+  int max_nr_groups = __sysconf (_SC_NGROUPS_MAX);
   gid_t gids[max_nr_groups];
 
   if (gethostname (machname, MAX_MACHINE_NAME) == -1)