Seconds to ticks conversion was done at the wrong place.

This commit is contained in:
Luoqi Chen 2000-01-12 17:26:42 +00:00
parent c09a378d7a
commit 49503b44fd

View File

@ -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");