From 17e8de7630b0606f12542675704bcaf9a03e0983 Mon Sep 17 00:00:00 2001 From: yamt Date: Mon, 15 May 2006 09:19:31 +0000 Subject: [PATCH] - include kauth.h for kauth_authorize_generic. - wrap a long line. --- sys/compat/sunos/sunos_misc.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sys/compat/sunos/sunos_misc.c b/sys/compat/sunos/sunos_misc.c index d8e7601ca2ce..e36cb9d64d47 100644 --- a/sys/compat/sunos/sunos_misc.c +++ b/sys/compat/sunos/sunos_misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: sunos_misc.c,v 1.137 2006/05/14 21:25:21 elad Exp $ */ +/* $NetBSD: sunos_misc.c,v 1.138 2006/05/15 09:19:31 yamt Exp $ */ /* * Copyright (c) 1992, 1993 @@ -50,7 +50,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sunos_misc.c,v 1.137 2006/05/14 21:25:21 elad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sunos_misc.c,v 1.138 2006/05/15 09:19:31 yamt Exp $"); #if defined(_KERNEL_OPT) #include "opt_nfsserver.h" @@ -90,6 +90,7 @@ __KERNEL_RCSID(0, "$NetBSD: sunos_misc.c,v 1.137 2006/05/14 21:25:21 elad Exp $" #include #include #include +#include #include @@ -1259,7 +1260,8 @@ sunos_sys_reboot(l, v, retval) int error, bsd_howto, sun_howto; char *bootstr; - if ((error = kauth_authorize_generic(p->p_cred, KAUTH_GENERIC_ISSUSER, &p->p_acflag)) != 0) + if ((error = kauth_authorize_generic(p->p_cred, KAUTH_GENERIC_ISSUSER, + &p->p_acflag)) != 0) return (error); /*