diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-08-24 16:20:42 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-08-24 16:20:42 +0000 |
commit | b91dd5946bd82569410ea68ec726afa2fade0ee5 (patch) | |
tree | 508a35a225a95aaff143e40b4a35917371354b08 | |
parent | b305c84f7c320ded4d46f05b94f69f7b3ba27f50 (diff) |
more fixes in that area; dholland@eecs.harvard.edu
-rw-r--r-- | usr.sbin/lpr/lpc/lpc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/lpr/lpc/lpc.c b/usr.sbin/lpr/lpc/lpc.c index 2bac5442bbf..e9af49b7317 100644 --- a/usr.sbin/lpr/lpc/lpc.c +++ b/usr.sbin/lpr/lpc/lpc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lpc.c,v 1.6 2000/08/24 16:00:19 deraadt Exp $ */ +/* $OpenBSD: lpc.c,v 1.7 2000/08/24 16:20:41 deraadt Exp $ */ /* * Copyright (c) 1983, 1993 @@ -44,7 +44,7 @@ static char copyright[] = #if 0 static char sccsid[] = "@(#)lpc.c 8.3 (Berkeley) 4/28/95"; #else -static char rcsid[] = "$OpenBSD: lpc.c,v 1.6 2000/08/24 16:00:19 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: lpc.c,v 1.7 2000/08/24 16:20:41 deraadt Exp $"; #endif #endif /* not lint */ @@ -304,11 +304,11 @@ static int ingroup(grname) char *grname; { - static struct group *gptr=NULL; + static struct group *gptr = NULL; static gid_t groups[NGROUPS]; register gid_t gid; register int i; - int maxgroups; + static int maxgroups; if (gptr == NULL) { if ((gptr = getgrnam(grname)) == NULL) { |