Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 Fix printf() format.
details: https://anonhg.NetBSD.org/src/rev/e52328157858
branches: trunk
changeset: 485717:e52328157858
user: mycroft <mycroft%NetBSD.org@localhost>
date: Wed May 03 20:17:37 2000 +0000
description:
Fix printf() format.
diffstat:
sys/arch/i386/i386/machdep.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 456e9a2c8831 -r e52328157858 sys/arch/i386/i386/machdep.c
--- a/sys/arch/i386/i386/machdep.c Wed May 03 20:02:08 2000 +0000
+++ b/sys/arch/i386/i386/machdep.c Wed May 03 20:17:37 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.382 2000/05/03 20:02:08 mycroft Exp $ */
+/* $NetBSD: machdep.c,v 1.383 2000/05/03 20:17:37 mycroft Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -1707,10 +1707,10 @@
if (physmem < btoc(2 * 1024 * 1024)) {
printf("warning: too little memory available; "
- "have %d bytes, want %d bytes\n"
+ "have %lu bytes, want %lu bytes\n"
"running in degraded mode\n"
"press a key to confirm\n\n",
- ptoa(physmem), 2*1024*1024);
+ ptoa(physmem), 2*1024*1024UL);
cngetc();
}
}
Home |
Main Index |
Thread Index |
Old Index