summaryrefslogtreecommitdiff
path: root/sys/kern/kern_shutdown.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/kern_shutdown.c')
-rw-r--r--sys/kern/kern_shutdown.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c
index 8eef728cb458..b8cbaedb68db 100644
--- a/sys/kern/kern_shutdown.c
+++ b/sys/kern/kern_shutdown.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* @(#)kern_shutdown.c 8.3 (Berkeley) 1/21/94
- * $Id: kern_shutdown.c,v 1.45 1999/01/30 19:28:30 msmith Exp $
+ * $Id: kern_shutdown.c,v 1.46 1999/01/30 19:29:10 msmith Exp $
*/
#include "opt_ddb.h"
@@ -145,7 +145,7 @@ reboot(p, uap)
{
int error;
- if ((error = suser(p->p_ucred, &p->p_acflag)))
+ if ((error = suser(p)))
return (error);
boot(uap->opt);