Now uses the shutdown() function instead of reboot() directly. Maybe this

must be changed again to arch_cpu_shutdown(), since it might not be safe
to properly shutdown from the kernel debugger.


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10054 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-11-19 21:55:12 +00:00
parent fb02804a89
commit d621b8a482

View File

@ -313,9 +313,9 @@ dbg_puts(const char *s)
static int
cmd_reboot(int argc, char **argv)
{
reboot();
shutdown(true);
return 0;
// I'll be really suprised if this line ever run! ;-)
// I'll be really suprised if this line ever runs! ;-)
}