summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfred Perlstein <alfred@FreeBSD.org>2004-07-15 08:01:00 +0000
committerAlfred Perlstein <alfred@FreeBSD.org>2004-07-15 08:01:00 +0000
commitbb5faea34f762860f36ec5a42a7b8bee5ca7b875 (patch)
tree1357d050654fa7a5a31835eb00fda978c6b96165
parenta2f87f4268e95e35e38e922d1719644dab59ac2e (diff)
Notes
-rw-r--r--sys/kern/kern_shutdown.c8
-rw-r--r--sys/kern/vfs_subr.c3
2 files changed, 4 insertions, 7 deletions
diff --git a/sys/kern/kern_shutdown.c b/sys/kern/kern_shutdown.c
index a73a1553b7f7..a228d1be302d 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 */
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 8add41255e3e..1be369885967 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -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);