From bcc5104ce1c31b23fe0d246ee43347f0673fcb5c Mon Sep 17 00:00:00 2001 From: alfred Date: Thu, 15 Jul 2004 08:01:00 +0000 Subject: Cleanup shutdown output. --- sys/kern/kern_shutdown.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'sys/kern/kern_shutdown.c') diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c index a73a155..a228d1b 100644 --- a/sys/kern/kern_shutdown.c +++ b/sys/kern/kern_shutdown.c @@ -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 */ -- cgit v1.1