summaryrefslogtreecommitdiff
path: root/sutils/halt.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-11-13 02:20:42 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-11-13 02:20:42 +0000
commit153fe10fe8a57ade4f3419a6582651e706a44661 (patch)
treea7d7098de6bddad95b78322522894272c806fadc /sutils/halt.c
parent46da9a1df83e95ee0b6624925c04f5082e31989d (diff)
(main): Just use the reboot function.
Diffstat (limited to 'sutils/halt.c')
-rw-r--r--sutils/halt.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sutils/halt.c b/sutils/halt.c
index d17f1a94..e490bc09 100644
--- a/sutils/halt.c
+++ b/sutils/halt.c
@@ -24,15 +24,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, RB_HALT);
+ reboot (RB_HALT);
}