Now uses new shutdown() function instead of reboot() directly.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10042 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-11-19 20:15:13 +00:00
parent 7b380c5b9f
commit 3780fc858b
@@ -8,6 +8,7 @@
#include <Drivers.h>
#include <OS.h>
#include <drivers/ISA.h>
#include <kernel.h>
#include <string.h>
#include <lock.h>
@@ -206,7 +207,7 @@ handle_keyboard_interrupt(void *data)
break;
#endif
case F12:
reboot();
shutdown(true);
break;
case HOME: