Reboot problem workaround - call shutdown directly.

This commit is contained in:
Ben Gras 2005-10-22 01:12:38 +00:00
parent 2823b3de0e
commit c178d8e0a4

View File

@ -209,7 +209,7 @@ int how;
*/
kprintf("MINIX will now be shut down ...\n");
tmr_arg(&shutdown_timer)->ta_int = how;
set_timer(&shutdown_timer, get_uptime() + HZ, shutdown);
shutdown(&shutdown_timer);
}
/*===========================================================================*
* shutdown *