Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 Use printf_nolog() as i386 when print r...
details: https://anonhg.NetBSD.org/src/rev/a655a156199c
branches: trunk
changeset: 785841:a655a156199c
user: taca <taca%NetBSD.org@localhost>
date: Tue Apr 02 13:28:41 2013 +0000
description:
Use printf_nolog() as i386 when print remaing bytes at crash dump to
prevent message buffer with cound down.
diffstat:
sys/arch/amd64/amd64/machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 65533855818d -r a655a156199c sys/arch/amd64/amd64/machdep.c
--- a/sys/arch/amd64/amd64/machdep.c Tue Apr 02 12:27:02 2013 +0000
+++ b/sys/arch/amd64/amd64/machdep.c Tue Apr 02 13:28:41 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.192 2013/01/12 16:56:11 chs Exp $ */
+/* $NetBSD: machdep.c,v 1.193 2013/04/02 13:28:41 taca Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2000, 2006, 2007, 2008, 2011
@@ -111,7 +111,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.192 2013/01/12 16:56:11 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.193 2013/04/02 13:28:41 taca Exp $");
/* #define XENDEBUG_LOW */
@@ -1197,7 +1197,7 @@
for (i = 0; i < bytes; i += n, dump_totalbytesleft -= n) {
/* Print out how many MBs we have left to go. */
if ((dump_totalbytesleft % (1024*1024)) == 0)
- printf("%lu ", (unsigned long)
+ printf_nolog("%lu ", (unsigned long)
(dump_totalbytesleft / (1024 * 1024)));
/* Limit size for next transfer. */
Home |
Main Index |
Thread Index |
Old Index