Correct the type of the `acflag' arg to suser().

This commit is contained in:
Bruce Evans 1995-04-23 08:31:02 +00:00
parent 7666fb4753
commit 453de7da68
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=8011
2 changed files with 4 additions and 4 deletions

View File

@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_prot.c 8.6 (Berkeley) 1/21/94
* $Id: kern_prot.c,v 1.4 1994/09/25 19:33:41 phk Exp $
* $Id: kern_prot.c,v 1.5 1994/10/13 20:59:49 sos Exp $
*/
/*
@ -469,7 +469,7 @@ groupmember(gid, cred)
int
suser(cred, acflag)
struct ucred *cred;
short *acflag;
u_short *acflag;
{
if (cred->cr_uid == 0) {
if (acflag)

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ucred.h 8.2 (Berkeley) 1/4/94
* $Id: ucred.h,v 1.3 1994/08/18 22:35:51 wollman Exp $
* $Id: ucred.h,v 1.4 1994/10/08 22:23:00 phk Exp $
*/
#ifndef _SYS_UCRED_H_
@ -56,7 +56,7 @@ struct ucred *crget(void);
struct ucred *crcopy(struct ucred *);
struct ucred *crdup(struct ucred *);
extern void crfree(struct ucred *);
extern int suser(struct ucred *, short *);
extern int suser(struct ucred *, u_short *);
int groupmember __P((gid_t, struct ucred *));
#endif /* KERNEL */