mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Cleanup shutdown output.
This commit is contained in:
parent
a2f87f4268
commit
bb5faea34f
2 changed files with 4 additions and 7 deletions
|
|
@ -245,9 +245,7 @@ doadump(void)
|
|||
static void
|
||||
boot(int howto)
|
||||
{
|
||||
int first_buf_printf;
|
||||
|
||||
first_buf_printf = 1;
|
||||
static int first_buf_printf = 1;
|
||||
|
||||
/* collect extra flags that shutdown_nice might have set */
|
||||
howto |= shutdown_howto;
|
||||
|
|
@ -595,9 +593,9 @@ kproc_shutdown(void *arg, int howto)
|
|||
error = kthread_suspend(p, kproc_shutdown_wait * hz);
|
||||
|
||||
if (error == EWOULDBLOCK)
|
||||
printf("Stop of '%s' timed out\n", procname);
|
||||
printf("Stop of '%s' timed out.\n", procname);
|
||||
else
|
||||
printf("Process '%s' stopped\n", procname);
|
||||
printf("Process '%s' stopped.\n", procname);
|
||||
}
|
||||
|
||||
/* Registration of dumpers */
|
||||
|
|
|
|||
|
|
@ -1571,8 +1571,7 @@ sched_sync(void)
|
|||
if (syncer_state != SYNCER_RUNNING &&
|
||||
starttime != time_second) {
|
||||
if (first_printf) {
|
||||
printf("Syncer syncing disks, "
|
||||
"buffers remaining... ");
|
||||
printf("Syncer syncing, vnodes remaining... ");
|
||||
first_printf = 0;
|
||||
}
|
||||
printf("%d ", net_worklist_len);
|
||||
|
|
|
|||
Loading…
Reference in a new issue