From 858958c167fdb9261566a66c607216c18b0c031b Mon Sep 17 00:00:00 2001 From: luoqi Date: Wed, 12 Jan 2000 17:26:42 +0000 Subject: [PATCH] Seconds to ticks conversion was done at the wrong place. --- sys/kern/kern_shutdown.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c index d66cfbd1ceff..f5940ac3e019 100644 --- a/sys/kern/kern_shutdown.c +++ b/sys/kern/kern_shutdown.c @@ -595,8 +595,8 @@ shutdown_kproc(void *arg, int howto) p = (struct proc *)arg; printf("Waiting (max %d seconds) for system process `%s' to stop...", - kproc_shutdown_wait * hz, p->p_comm); - error = suspend_kproc(p, kproc_shutdown_wait); + kproc_shutdown_wait, p->p_comm); + error = suspend_kproc(p, kproc_shutdown_wait * hz); if (error == EWOULDBLOCK) printf("timed out\n");