From d621b8a482d8189b66464c71a8839e317747cde0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Fri, 19 Nov 2004 21:55:12 +0000 Subject: [PATCH] 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 --- src/kernel/core/debug.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kernel/core/debug.c b/src/kernel/core/debug.c index d7f460ffa1..0b7aa7a29a 100644 --- a/src/kernel/core/debug.c +++ b/src/kernel/core/debug.c @@ -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! ;-) }