aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/kern_shutdown.c
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2007-10-24 19:04:04 +0000
committerRobert Watson <rwatson@FreeBSD.org>2007-10-24 19:04:04 +0000
commit30d239bc4c510432e65a84fa1c14ed67a3ab1c92 (patch)
treefea282db79628eed98808fd38cc46445b2f97ca5 /sys/kern/kern_shutdown.c
parent21439626472b5a6d5317cc38b361bc2368f97d93 (diff)
downloadsrc-30d239bc4c510432e65a84fa1c14ed67a3ab1c92.tar.gz
src-30d239bc4c510432e65a84fa1c14ed67a3ab1c92.zip
Notes
Diffstat (limited to 'sys/kern/kern_shutdown.c')
-rw-r--r--sys/kern/kern_shutdown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c
index bd1aeaf35915..14a74b7f219f 100644
--- a/sys/kern/kern_shutdown.c
+++ b/sys/kern/kern_shutdown.c
@@ -160,7 +160,7 @@ reboot(struct thread *td, struct reboot_args *uap)
error = 0;
#ifdef MAC
- error = mac_check_system_reboot(td->td_ucred, uap->opt);
+ error = mac_system_check_reboot(td->td_ucred, uap->opt);
#endif
if (error == 0)
error = priv_check(td, PRIV_REBOOT);