about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-07-14 20:52:32 +0000
committerUlrich Drepper <drepper@redhat.com>1998-07-14 20:52:32 +0000
commite31cac9420203a4e01327eaffe1cc27f15463afb (patch)
treedc8b364e8900285904a6467271899c1abff1790a
parentc764b9a7280436b891ffa5dfb46d14a8df405a97 (diff)
downloadglibc-e31cac9420203a4e01327eaffe1cc27f15463afb.tar.gz
glibc-e31cac9420203a4e01327eaffe1cc27f15463afb.tar.xz
glibc-e31cac9420203a4e01327eaffe1cc27f15463afb.zip
Update.
1998-07-14  Ulrich Drepper  <drepper@cygnus.com>

	* sunrpc/auth_unix.c (authunix_create_default): Use __sysconf
	instead of sysconf.
-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)