Minor message cleanup.

This commit is contained in:
njl 2004-07-30 01:30:05 +00:00
parent 4fe3d5e537
commit 774b91783e
2 changed files with 4 additions and 6 deletions

View File

@ -370,7 +370,6 @@ boot(int howto)
printf("giving up on %d buffers\n", nbusy); printf("giving up on %d buffers\n", nbusy);
DELAY(5000000); /* 5 seconds */ DELAY(5000000); /* 5 seconds */
} else { } else {
printf("done\n");
/* /*
* Unmount filesystems * Unmount filesystems
*/ */
@ -597,14 +596,14 @@ kproc_shutdown(void *arg, int howto)
p = (struct proc *)arg; p = (struct proc *)arg;
strlcpy(procname, p->p_comm, sizeof(procname)); strlcpy(procname, p->p_comm, sizeof(procname));
printf("Waiting (max %d seconds) for system process `%s' to stop...\n", printf("Waiting (max %d seconds) for system process `%s' to stop...",
kproc_shutdown_wait, procname); kproc_shutdown_wait, procname);
error = kthread_suspend(p, kproc_shutdown_wait * hz); error = kthread_suspend(p, kproc_shutdown_wait * hz);
if (error == EWOULDBLOCK) if (error == EWOULDBLOCK)
printf("Stop of '%s' timed out.\n", procname); printf("timed out\n");
else else
printf("Process '%s' stopped.\n", procname); printf("done\n");
} }
/* Registration of dumpers */ /* Registration of dumpers */

View File

@ -1563,7 +1563,6 @@ sched_sync(void)
if (syncer_state == SYNCER_FINAL_DELAY && if (syncer_state == SYNCER_FINAL_DELAY &&
syncer_final_iter == 0) { syncer_final_iter == 0) {
mtx_unlock(&sync_mtx); mtx_unlock(&sync_mtx);
printf("done.\n");
kthread_suspend_check(td->td_proc); kthread_suspend_check(td->td_proc);
mtx_lock(&sync_mtx); mtx_lock(&sync_mtx);
} }
@ -1571,7 +1570,7 @@ sched_sync(void)
if (syncer_state != SYNCER_RUNNING && if (syncer_state != SYNCER_RUNNING &&
starttime != time_second) { starttime != time_second) {
if (first_printf) { if (first_printf) {
printf("Syncer syncing, vnodes remaining... "); printf("\nSyncer syncing, vnodes remaining...");
first_printf = 0; first_printf = 0;
} }
printf("%d ", net_worklist_len); printf("%d ", net_worklist_len);