From b33f91e91da81059b388c8f8ee0d0024212eb180 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 10 Oct 1996 01:07:18 +0000 Subject: update from main archive 961009 Wed Oct 9 00:24:52 1996 Jim Meyering * time/strftime.c: Allow old K&R compilers compile this file. Wed Oct 9 12:03:56 1996 Ulrich Drepper * posix/execlp.c: Add first argument parameter to be compliant with POSIX. Rearrange body to start vararg counter after this new argument. Wed Oct 9 04:34:50 1996 Ulrich Drepper * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use simply a wrapper around the file since the kernel header is not clean enough. We provide the definitions in this file instead. Wed Oct 9 01:43:18 1996 Ulrich Drepper * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid get?id calls by using __libc_enable_secure. --- sunrpc/auth_unix.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sunrpc/auth_unix.c') diff --git a/sunrpc/auth_unix.c b/sunrpc/auth_unix.c index 9062e796b9..f0e6686d65 100644 --- a/sunrpc/auth_unix.c +++ b/sunrpc/auth_unix.c @@ -46,7 +46,7 @@ static char sccsid[] = "@(#)auth_unix.c 1.19 87/08/11 Copyr 1984 Sun Micro"; #include #include #include -#include +#include #include #include @@ -174,7 +174,7 @@ authunix_create_default() char machname[MAX_MACHINE_NAME + 1]; register int uid; register int gid; - int max_nr_groups = sysconf (_SC_NGROUP_MAX); + int max_nr_groups = sysconf (_SC_NGROUPS_MAX); gid_t gids[max_nr_groups]; if (gethostname(machname, MAX_MACHINE_NAME) == -1) -- cgit v1.2.3