aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/auth_unix.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1996-10-10 01:07:18 +0000
committerUlrich Drepper <drepper@redhat.com>1996-10-10 01:07:18 +0000
commitb33f91e91da81059b388c8f8ee0d0024212eb180 (patch)
treea9b0a80b8567c0d4e24a74f0c45e52a4a3a8962a /sunrpc/auth_unix.c
parent11336c165c25e5a467335ca742674b1d5ad6d982 (diff)
downloadglibc-b33f91e91da81059b388c8f8ee0d0024212eb180.tar
glibc-b33f91e91da81059b388c8f8ee0d0024212eb180.tar.gz
glibc-b33f91e91da81059b388c8f8ee0d0024212eb180.tar.bz2
glibc-b33f91e91da81059b388c8f8ee0d0024212eb180.zip
update from main archive 961009cvs/libc-961011cvs/libc-961010
Wed Oct 9 00:24:52 1996 Jim Meyering <meyering@asic.sc.ti.com> * time/strftime.c: Allow old K&R compilers compile this file. Wed Oct 9 12:03:56 1996 Ulrich Drepper <drepper@cygnus.com> * 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 <drepper@cygnus.com> * sysdeps/unix/sysv/linux/sys/procfs.h: Rewrite. We cannot use simply a wrapper around the <linux.elfcore.h> 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 <drepper@cygnus.com> * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Avoid get?id calls by using __libc_enable_secure.
Diffstat (limited to 'sunrpc/auth_unix.c')
-rw-r--r--sunrpc/auth_unix.c4
1 files changed, 2 insertions, 2 deletions
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 <limits.h>
#include <stdio.h>
#include <unistd.h>
-#include <sys/params.h>
+#include <sys/param.h>
#include <rpc/types.h>
#include <rpc/xdr.h>
@@ -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)