mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 23:43:25 +00:00
Seconds to ticks conversion was done at the wrong place.
This commit is contained in:
parent
c09a378d7a
commit
49503b44fd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=55862
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user