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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user