From: Ben Gras Date: Sat, 22 Oct 2005 01:12:38 +0000 (+0000) Subject: Reboot problem workaround - call shutdown directly. X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zlib_tech.html?a=commitdiff_plain;h=c178d8e0a4f2cac2320e74b1b68a9b5f7f1f00c5;p=minix.git Reboot problem workaround - call shutdown directly. --- diff --git a/kernel/main.c b/kernel/main.c index 74c33b2ca..acbdf8dea 100755 --- a/kernel/main.c +++ b/kernel/main.c @@ -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 *