diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c index 1def83742d9f..6d21dd374587 100644 --- a/sys/arch/sparc64/sparc64/machdep.c +++ b/sys/arch/sparc64/sparc64/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.290 2018/12/19 13:57:50 maxv Exp $ */ +/* $NetBSD: machdep.c,v 1.291 2019/01/07 13:10:44 martin Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -71,7 +71,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.290 2018/12/19 13:57:50 maxv Exp $"); +__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.291 2019/01/07 13:10:44 martin Exp $"); #include "opt_ddb.h" #include "opt_multiprocessor.h" @@ -122,6 +122,7 @@ __KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.290 2018/12/19 13:57:50 maxv Exp $"); #define _SPARC_BUS_DMA_PRIVATE #include #include +#include #include #include #include @@ -755,7 +756,8 @@ dumpsys(void) /* print out how many MBs we still have to dump */ if ((todo % (1024*1024)) == 0) - printf_nolog("\r%6" PRIu64 " M ", + printf_flags(TOCONS|NOTSTAMP, + "\r%6" PRIu64 " M ", todo / (1024*1024)); for (off = 0; off < n; off += PAGE_SIZE) pmap_kenter_pa(dumpspace+off, maddr+off, @@ -790,7 +792,8 @@ dumpsys(void) break; case 0: - printf("\rdump succeeded\n"); + printf_flags(TOCONS|NOTSTAMP, "\r "); + printf("\ndump succeeded\n"); break; default: