summaryrefslogtreecommitdiff
path: root/sutils/reboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'sutils/reboot.c')
-rw-r--r--sutils/reboot.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sutils/reboot.c b/sutils/reboot.c
index b3bcd2ef..2909d102 100644
--- a/sutils/reboot.c
+++ b/sutils/reboot.c
@@ -25,15 +25,7 @@
main ()
{
- host_priv_t host_priv;
- device_t dev;
- process_t proc;
- mach_port_t msg;
-
- get_privileged_ports (&host_priv, &dev);
- proc = getproc ();
- proc_getmsgport (proc, 1, &msg);
- startup_reboot (msg, host_priv, 0);
+ reboot (0);
}