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:
parent
fb02804a89
commit
d621b8a482
@ -313,9 +313,9 @@ dbg_puts(const char *s)
|
|||||||
static int
|
static int
|
||||||
cmd_reboot(int argc, char **argv)
|
cmd_reboot(int argc, char **argv)
|
||||||
{
|
{
|
||||||
reboot();
|
shutdown(true);
|
||||||
return 0;
|
return 0;
|
||||||
// I'll be really suprised if this line ever run! ;-)
|
// I'll be really suprised if this line ever runs! ;-)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user