Reboot problem workaround - call shutdown directly.
This commit is contained in:
parent
2823b3de0e
commit
c178d8e0a4
@ -209,7 +209,7 @@ int how;
|
|||||||
*/
|
*/
|
||||||
kprintf("MINIX will now be shut down ...\n");
|
kprintf("MINIX will now be shut down ...\n");
|
||||||
tmr_arg(&shutdown_timer)->ta_int = how;
|
tmr_arg(&shutdown_timer)->ta_int = how;
|
||||||
set_timer(&shutdown_timer, get_uptime() + HZ, shutdown);
|
shutdown(&shutdown_timer);
|
||||||
}
|
}
|
||||||
/*===========================================================================*
|
/*===========================================================================*
|
||||||
* shutdown *
|
* shutdown *
|
||||||
|
Loading…
x
Reference in New Issue
Block a user