diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-04-27 11:18:52 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1999-04-27 11:18:52 +0000 |
| commit | f711d546d27edc6115841ef780df0252d44a996d (patch) | |
| tree | d19d0988b873086bf6eda1c6543fc9257015af3d /sys/kern/kern_acct.c | |
| parent | d5483ddfbae9694934b27c4e7f23a4f0d3e0f5f4 (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_acct.c')
| -rw-r--r-- | sys/kern/kern_acct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_acct.c b/sys/kern/kern_acct.c index 11db4e9460c0..61e49abef179 100644 --- a/sys/kern/kern_acct.c +++ b/sys/kern/kern_acct.c @@ -37,7 +37,7 @@ * SUCH DAMAGE. * * @(#)kern_acct.c 8.1 (Berkeley) 6/14/93 - * $Id: kern_acct.c,v 1.18 1997/11/06 19:29:07 phk Exp $ + * $Id: kern_acct.c,v 1.19 1998/06/05 21:44:19 dg Exp $ */ #include <sys/param.h> @@ -119,7 +119,7 @@ acct(a1, uap) int error; /* Make sure that the caller is root. */ - error = suser(p->p_ucred, &p->p_acflag); + error = suser(p); if (error) return (error); |
