const poisoning.
This commit is contained in:
parent
6828d39080
commit
1f86e5830d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: fsinfo.c,v 1.7 1998/07/06 06:45:42 mrg Exp $ */
|
||||
/* $NetBSD: fsinfo.c,v 1.8 1998/07/27 00:52:00 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Erez Zadok
|
||||
|
@ -203,7 +203,7 @@ Usage: %s [-v] [-a autodir] [-h hostname] [-b bootparams] [-d dumpsets]\n\
|
|||
static char *
|
||||
find_username(void)
|
||||
{
|
||||
char *u = getlogin();
|
||||
const char *u = getlogin();
|
||||
|
||||
if (!u) {
|
||||
struct passwd *pw = getpwuid(getuid());
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: homedir.c,v 1.4 1998/03/30 02:37:43 mrg Exp $ */
|
||||
/* $NetBSD: homedir.c,v 1.5 1998/07/27 00:52:00 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997 Erez Zadok
|
||||
|
@ -69,7 +69,7 @@ static uid2home_t *lastchild;
|
|||
static uid2home_t *pwtab;
|
||||
static void delay(uid2home_t *, int);
|
||||
static void plt_init(void);
|
||||
static void table_add(int, char *, char *);
|
||||
static void table_add(int, const char *, const char *);
|
||||
|
||||
/* GLOBAL FUNCTIONS */
|
||||
char *homeof(char *username);
|
||||
|
@ -616,7 +616,7 @@ plt_reset(void)
|
|||
* n: user ID name
|
||||
*/
|
||||
static void
|
||||
table_add(int u, char *h, char *n)
|
||||
table_add(int u, const char *h, const char *n)
|
||||
{
|
||||
int i;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: dumpfs.c,v 1.16 1998/03/18 17:19:59 bouyer Exp $ */
|
||||
/* $NetBSD: dumpfs.c,v 1.17 1998/07/27 00:52:01 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1992, 1993
|
||||
|
@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1992, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)dumpfs.c 8.5 (Berkeley) 4/29/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: dumpfs.c,v 1.16 1998/03/18 17:19:59 bouyer Exp $");
|
||||
__RCSID("$NetBSD: dumpfs.c,v 1.17 1998/07/27 00:52:01 mycroft Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -79,8 +79,8 @@ union {
|
|||
long dev_bsize = 1;
|
||||
int needswap = 0;
|
||||
|
||||
int dumpfs __P((char *));
|
||||
int dumpcg __P((char *, int, int));
|
||||
int dumpfs __P((const char *));
|
||||
int dumpcg __P((const char *, int, int));
|
||||
int main __P((int, char **));
|
||||
void pbits __P((void *, int));
|
||||
void usage __P((void));
|
||||
|
@ -116,7 +116,7 @@ main(argc, argv)
|
|||
|
||||
int
|
||||
dumpfs(name)
|
||||
char *name;
|
||||
const char *name;
|
||||
{
|
||||
int fd, c, i, j, k, size;
|
||||
|
||||
|
@ -262,7 +262,7 @@ err: if (fd != -1)
|
|||
|
||||
int
|
||||
dumpcg(name, fd, c)
|
||||
char *name;
|
||||
const char *name;
|
||||
int fd, c;
|
||||
{
|
||||
off_t cur;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: lpr.c,v 1.17 1998/07/06 07:03:28 mrg Exp $ */
|
||||
/* $NetBSD: lpr.c,v 1.18 1998/07/27 00:52:01 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1983, 1989, 1993
|
||||
|
@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1983, 1989, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)lpr.c 8.4 (Berkeley) 4/28/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: lpr.c,v 1.17 1998/07/06 07:03:28 mrg Exp $");
|
||||
__RCSID("$NetBSD: lpr.c,v 1.18 1998/07/27 00:52:01 mycroft Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -92,7 +92,7 @@ static char *jobname; /* job name on header page */
|
|||
static int mailflg; /* send mail */
|
||||
static int nact; /* number of jobs to act on */
|
||||
static int ncopies = 1; /* # of copies to make */
|
||||
static char *person; /* user name */
|
||||
static const char *person; /* user name */
|
||||
static int qflag; /* q job, but don't exec daemon */
|
||||
static int rflag; /* remove files upon completion */
|
||||
static int sflag; /* symbolic link flag */
|
||||
|
@ -104,7 +104,7 @@ static char *width; /* width for versatec printing */
|
|||
|
||||
static struct stat statb;
|
||||
|
||||
static void card __P((int, char *));
|
||||
static void card __P((int, const char *));
|
||||
static void chkprinter __P((char *));
|
||||
static void cleanup __P((int));
|
||||
static void copy __P((int, char []));
|
||||
|
@ -501,7 +501,7 @@ linked(file)
|
|||
static void
|
||||
card(c, p2)
|
||||
int c;
|
||||
char *p2;
|
||||
const char *p2;
|
||||
{
|
||||
char buf[BUFSIZ];
|
||||
char *p1 = buf;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: auth.c,v 1.21 1998/05/02 14:19:13 christos Exp $ */
|
||||
/* $NetBSD: auth.c,v 1.22 1998/07/27 00:52:01 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* auth.c - PPP authentication and phase control.
|
||||
|
@ -39,7 +39,7 @@
|
|||
#if 0
|
||||
static char rcsid[] = "Id: auth.c,v 1.37 1998/03/26 04:46:03 paulus Exp ";
|
||||
#else
|
||||
__RCSID("$NetBSD: auth.c,v 1.21 1998/05/02 14:19:13 christos Exp $");
|
||||
__RCSID("$NetBSD: auth.c,v 1.22 1998/07/27 00:52:01 mycroft Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -147,7 +147,7 @@ static int ip_addr_check __P((u_int32_t, struct wordlist *));
|
|||
static int scan_authfile __P((FILE *, char *, char *, u_int32_t, char *,
|
||||
struct wordlist **, char *));
|
||||
static void free_wordlist __P((struct wordlist *));
|
||||
static void auth_script __P((char *));
|
||||
static void auth_script __P((const char *));
|
||||
static void set_allowed_addrs __P((int, struct wordlist *));
|
||||
|
||||
/*
|
||||
|
@ -1481,13 +1481,13 @@ free_wordlist(wp)
|
|||
*/
|
||||
static void
|
||||
auth_script(script)
|
||||
char *script;
|
||||
const char *script;
|
||||
{
|
||||
char strspeed[32];
|
||||
struct passwd *pw;
|
||||
char struid[32];
|
||||
char *user_name;
|
||||
char *argv[8];
|
||||
const char *user_name;
|
||||
const char *argv[8];
|
||||
|
||||
if ((pw = getpwuid(getuid())) != NULL && pw->pw_name != NULL)
|
||||
user_name = pw->pw_name;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ipcp.c,v 1.14 1998/05/02 14:19:14 christos Exp $ */
|
||||
/* $NetBSD: ipcp.c,v 1.15 1998/07/27 00:52:01 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* ipcp.c - PPP IP Control Protocol.
|
||||
|
@ -24,7 +24,7 @@
|
|||
#if 0
|
||||
static char rcsid[] = "Id: ipcp.c,v 1.33 1998/03/25 03:08:47 paulus Exp ";
|
||||
#else
|
||||
__RCSID("$NetBSD: ipcp.c,v 1.14 1998/05/02 14:19:14 christos Exp $");
|
||||
__RCSID("$NetBSD: ipcp.c,v 1.15 1998/07/27 00:52:01 mycroft Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -69,7 +69,7 @@ static int ipcp_rejci __P((fsm *, u_char *, int)); /* Peer rej'd our CI */
|
|||
static int ipcp_reqci __P((fsm *, u_char *, int *, int)); /* Rcv CI */
|
||||
static void ipcp_up __P((fsm *)); /* We're UP */
|
||||
static void ipcp_down __P((fsm *)); /* We're DOWN */
|
||||
static void ipcp_script __P((fsm *, char *)); /* Run an up/down script */
|
||||
static void ipcp_script __P((fsm *, const char *)); /* Run an up/down script */
|
||||
static void ipcp_finished __P((fsm *)); /* Don't need lower layer */
|
||||
|
||||
fsm ipcp_fsm[NUM_PPP]; /* IPCP fsm structure */
|
||||
|
@ -1342,10 +1342,10 @@ ipcp_finished(f)
|
|||
static void
|
||||
ipcp_script(f, script)
|
||||
fsm *f;
|
||||
char *script;
|
||||
const char *script;
|
||||
{
|
||||
char strspeed[32], strlocal[32], strremote[32];
|
||||
char *argv[8];
|
||||
const char *argv[8];
|
||||
|
||||
sprintf(strspeed, "%d", baud_rate);
|
||||
strcpy(strlocal, ip_ntoa(ipcp_gotoptions[f->unit].ouraddr));
|
||||
|
@ -1359,6 +1359,7 @@ ipcp_script(f, script)
|
|||
argv[5] = strremote;
|
||||
argv[6] = ipparam;
|
||||
argv[7] = NULL;
|
||||
|
||||
run_program(script, argv, 0);
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: main.c,v 1.31 1998/07/26 15:48:44 mycroft Exp $ */
|
||||
/* $NetBSD: main.c,v 1.32 1998/07/27 00:52:02 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* main.c - Point-to-Point Protocol main module
|
||||
|
@ -24,7 +24,7 @@
|
|||
#if 0
|
||||
static char rcsid[] = "Id: main.c,v 1.47 1998/03/30 06:25:34 paulus Exp ";
|
||||
#else
|
||||
__RCSID("$NetBSD: main.c,v 1.31 1998/07/26 15:48:44 mycroft Exp $");
|
||||
__RCSID("$NetBSD: main.c,v 1.32 1998/07/27 00:52:02 mycroft Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -173,7 +173,7 @@ main(argc, argv)
|
|||
{
|
||||
int i, fdflags;
|
||||
struct sigaction sa;
|
||||
char *p;
|
||||
const char *p;
|
||||
struct passwd *pw;
|
||||
struct timeval timo;
|
||||
sigset_t mask;
|
||||
|
@ -1130,8 +1130,8 @@ device_script(program, in, out)
|
|||
*/
|
||||
int
|
||||
run_program(prog, args, must_exist)
|
||||
char *prog;
|
||||
char **args;
|
||||
const char *prog;
|
||||
const char **args;
|
||||
int must_exist;
|
||||
{
|
||||
int pid;
|
||||
|
@ -1179,7 +1179,7 @@ run_program(prog, args, must_exist)
|
|||
/* SysV recommends a second fork at this point. */
|
||||
|
||||
/* run the program; give it a null environment */
|
||||
execve(prog, args, script_env);
|
||||
execve(prog, (char **)args, script_env);
|
||||
if (must_exist || errno != ENOENT)
|
||||
syslog(LOG_WARNING, "Can't execute %s: %m", prog);
|
||||
_exit(-1);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: options.c,v 1.24 1998/07/06 07:04:29 mrg Exp $ */
|
||||
/* $NetBSD: options.c,v 1.25 1998/07/27 00:52:02 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* options.c - handles option processing for PPP.
|
||||
|
@ -24,7 +24,7 @@
|
|||
#if 0
|
||||
static char rcsid[] = "Id: options.c,v 1.42 1998/03/26 04:46:06 paulus Exp ";
|
||||
#else
|
||||
__RCSID("$NetBSD: options.c,v 1.24 1998/07/06 07:04:29 mrg Exp $");
|
||||
__RCSID("$NetBSD: options.c,v 1.25 1998/07/27 00:52:02 mycroft Exp $");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
@ -670,7 +670,8 @@ err:
|
|||
int
|
||||
options_from_user()
|
||||
{
|
||||
char *user, *path, *file;
|
||||
const char *user;
|
||||
char *path, *file;
|
||||
int ret;
|
||||
struct passwd *pw;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pppd.h,v 1.14 1998/07/26 15:48:44 mycroft Exp $ */
|
||||
/* $NetBSD: pppd.h,v 1.15 1998/07/27 00:52:02 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* pppd.h - PPP daemon global declarations.
|
||||
|
@ -191,7 +191,7 @@ void timeout __P((void (*func)(void *), void *arg, int t));
|
|||
/* Call func(arg) after t seconds */
|
||||
void untimeout __P((void (*func)(void *), void *arg));
|
||||
/* Cancel call to func(arg) */
|
||||
int run_program __P((char *prog, char **args, int must_exist));
|
||||
int run_program __P((const char *prog, const char **args, int must_exist));
|
||||
/* Run program prog with args in child */
|
||||
void demuxprotrej __P((int, int));
|
||||
/* Demultiplex a Protocol-Reject */
|
||||
|
|
|
@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1991, 1993, 1994\n\
|
|||
#if 0
|
||||
static char sccsid[] = "from: @(#)pwd_mkdb.c 8.5 (Berkeley) 4/20/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: pwd_mkdb.c,v 1.15 1998/06/08 03:23:07 lukem Exp $");
|
||||
__RCSID("$NetBSD: pwd_mkdb.c,v 1.16 1998/07/27 00:52:02 mycroft Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -106,7 +106,8 @@ main(argc, argv)
|
|||
FILE *fp, *oldfp;
|
||||
sigset_t set;
|
||||
int ch, cnt, len, makeold, tfd, flags;
|
||||
char *p, *t;
|
||||
char *p;
|
||||
const char *t;
|
||||
char buf[MAX(MAXPATHLEN, LINE_MAX * 2)], tbuf[1024];
|
||||
int hasyp = 0;
|
||||
DBT ypdata, ypkey;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: quotacheck.c,v 1.17 1998/03/18 17:22:38 bouyer Exp $ */
|
||||
/* $NetBSD: quotacheck.c,v 1.18 1998/07/27 00:52:02 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1980, 1990, 1993
|
||||
|
@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1990, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)quotacheck.c 8.6 (Berkeley) 4/28/95";
|
||||
#else
|
||||
__RCSID("$NetBSD: quotacheck.c,v 1.17 1998/03/18 17:22:38 bouyer Exp $");
|
||||
__RCSID("$NetBSD: quotacheck.c,v 1.18 1998/07/27 00:52:02 mycroft Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -122,11 +122,11 @@ static void *needchk __P((struct fstab *));
|
|||
static int chkquota __P((const char *, const char *, const char *, void *,
|
||||
pid_t *));
|
||||
static int update __P((const char *, const char *, int));
|
||||
static int oneof __P((char *, char *[], int));
|
||||
static int oneof __P((const char *, char *[], int));
|
||||
static int getquotagid __P((void));
|
||||
static int hasquota __P((struct fstab *, int, char **));
|
||||
static struct fileusage *lookup __P((u_long, int));
|
||||
static struct fileusage *addid __P((u_long, int, char *));
|
||||
static struct fileusage *addid __P((u_long, int, const char *));
|
||||
static struct dinode *getnextinode __P((ino_t));
|
||||
static void resetinodebuf __P((void));
|
||||
static void freeinodebuf __P((void));
|
||||
|
@ -144,7 +144,7 @@ main(argc, argv)
|
|||
int i, argnum, maxrun, errs;
|
||||
long done = 0;
|
||||
int flags = CHECK_PREEN;
|
||||
char *name;
|
||||
const char *name;
|
||||
int ch;
|
||||
|
||||
errs = maxrun = 0;
|
||||
|
@ -438,7 +438,8 @@ update(fsname, quotafile, type)
|
|||
*/
|
||||
static int
|
||||
oneof(target, list, cnt)
|
||||
char *target, *list[];
|
||||
const char *target;
|
||||
char *list[];
|
||||
int cnt;
|
||||
{
|
||||
int i;
|
||||
|
@ -529,7 +530,7 @@ static struct fileusage *
|
|||
addid(id, type, name)
|
||||
u_long id;
|
||||
int type;
|
||||
char *name;
|
||||
const char *name;
|
||||
{
|
||||
struct fileusage *fup, **fhp;
|
||||
int len;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: quotaon.c,v 1.12 1998/02/03 05:00:42 perry Exp $ */
|
||||
/* $NetBSD: quotaon.c,v 1.13 1998/07/27 00:52:03 mycroft Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1980, 1990, 1993
|
||||
|
@ -46,7 +46,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1990, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)quotaon.c 8.1 (Berkeley) 6/6/93";
|
||||
#else
|
||||
__RCSID("$NetBSD: quotaon.c,v 1.12 1998/02/03 05:00:42 perry Exp $");
|
||||
__RCSID("$NetBSD: quotaon.c,v 1.13 1998/07/27 00:52:03 mycroft Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -78,7 +78,7 @@ int main __P((int, char *[]));
|
|||
|
||||
static void usage __P((void));
|
||||
static int quotaonoff __P((struct fstab *, int, int, char *));
|
||||
static int oneof __P((char *, char *[], int));
|
||||
static int oneof __P((const char *, char *[], int));
|
||||
static int hasquota __P((struct fstab *, int, char **));
|
||||
static int readonly __P((struct fstab *));
|
||||
|
||||
|
@ -199,7 +199,8 @@ quotaonoff(fs, offmode, type, qfpathname)
|
|||
*/
|
||||
static int
|
||||
oneof(target, list, cnt)
|
||||
char *target, *list[];
|
||||
const char *target;
|
||||
char *list[];
|
||||
int cnt;
|
||||
{
|
||||
int i;
|
||||
|
|
|
@ -44,7 +44,7 @@ __COPYRIGHT("@(#) Copyright (c) 1980, 1990, 1993\n\
|
|||
#if 0
|
||||
static char sccsid[] = "@(#)repquota.c 8.2 (Berkeley) 11/22/94";
|
||||
#else
|
||||
__RCSID("$NetBSD: repquota.c,v 1.13 1997/10/23 04:53:03 fair Exp $");
|
||||
__RCSID("$NetBSD: repquota.c,v 1.14 1998/07/27 00:52:03 mycroft Exp $");
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
|
@ -81,11 +81,11 @@ u_long highid[MAXQUOTAS]; /* highest addid()'ed identifier per type */
|
|||
int vflag; /* verbose */
|
||||
int aflag; /* all file systems */
|
||||
|
||||
struct fileusage *addid __P((u_long, int, char *));
|
||||
struct fileusage *addid __P((u_long, int, const char *));
|
||||
int hasquota __P((struct fstab *, int, char **));
|
||||
struct fileusage *lookup __P((u_long, int));
|
||||
int main __P((int, char **));
|
||||
int oneof __P((char *, char **, int));
|
||||
int oneof __P((const char *, char **, int));
|
||||
int repquota __P((struct fstab *, int, char *));
|
||||
char *timeprt __P((time_t));
|
||||
void usage __P((void));
|
||||
|
@ -263,7 +263,8 @@ repquota(fs, type, qfpathname)
|
|||
*/
|
||||
int
|
||||
oneof(target, list, cnt)
|
||||
char *target, *list[];
|
||||
const char *target;
|
||||
char *list[];
|
||||
int cnt;
|
||||
{
|
||||
int i;
|
||||
|
@ -338,7 +339,7 @@ struct fileusage *
|
|||
addid(id, type, name)
|
||||
u_long id;
|
||||
int type;
|
||||
char *name;
|
||||
const char *name;
|
||||
{
|
||||
struct fileusage *fup, **fhp;
|
||||
int len;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pcnfsd_misc.c,v 1.3 1997/10/25 13:45:57 lukem Exp $ */
|
||||
/* $NetBSD: pcnfsd_misc.c,v 1.4 1998/07/27 00:52:03 mycroft Exp $ */
|
||||
|
||||
/* RE_SID: @(%)/usr/dosnfs/shades_SCCS/unix/pcnfsd/v2/src/SCCS/s.pcnfsd_misc.c 1.5 92/01/24 19:59:13 SMI */
|
||||
/*
|
||||
|
@ -100,8 +100,8 @@ get_password(usrnam)
|
|||
{
|
||||
struct passwd *p;
|
||||
static struct passwd localp;
|
||||
char *pswd;
|
||||
char *ushell;
|
||||
const char *pswd;
|
||||
const char *ushell;
|
||||
|
||||
|
||||
#ifdef SHADOW_SUPPORT
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: pcnfsd_v2.c,v 1.6 1997/10/25 13:46:00 lukem Exp $ */
|
||||
/* $NetBSD: pcnfsd_v2.c,v 1.7 1998/07/27 00:52:04 mycroft Exp $ */
|
||||
|
||||
/* RE_SID: @(%)/usr/dosnfs/shades_SCCS/unix/pcnfsd/v2/src/SCCS/s.pcnfsd_v2.c 1.2 91/12/18 13:26:13 SMI */
|
||||
/*
|
||||
|
@ -327,11 +327,11 @@ free_mapreq_results(p)
|
|||
return;
|
||||
}
|
||||
|
||||
static char *my_strdup __P((char *));
|
||||
static char *my_strdup __P((const char *));
|
||||
|
||||
static char *
|
||||
my_strdup(s)
|
||||
char *s;
|
||||
const char *s;
|
||||
{
|
||||
char *r;
|
||||
r = (char *) grab(strlen(s) + 1);
|
||||
|
@ -479,7 +479,7 @@ fillin_extra_groups(uname, main_gid, len, extra_gids)
|
|||
gid_t extra_gids[EXTRAGIDLEN];
|
||||
{
|
||||
struct group *grp;
|
||||
char **members;
|
||||
const char *const *members;
|
||||
int n = 0;
|
||||
|
||||
setgrent();
|
||||
|
|
Loading…
Reference in New Issue