Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sgimips/sgimips Fix DEBUG build.



details:   https://anonhg.NetBSD.org/src/rev/5e98e3fec4a8
branches:  trunk
changeset: 767723:5e98e3fec4a8
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Thu Jul 28 04:06:09 2011 +0000

description:
Fix DEBUG build.

diffstat:

 sys/arch/sgimips/sgimips/machdep.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r def46077405c -r 5e98e3fec4a8 sys/arch/sgimips/sgimips/machdep.c
--- a/sys/arch/sgimips/sgimips/machdep.c        Thu Jul 28 03:52:19 2011 +0000
+++ b/sys/arch/sgimips/sgimips/machdep.c        Thu Jul 28 04:06:09 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.135 2011/07/01 18:54:33 dyoung Exp $     */
+/*     $NetBSD: machdep.c,v 1.136 2011/07/28 04:06:09 uebayasi Exp $   */
 
 /*
  * Copyright (c) 2000 Soren S. Jorvang
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.135 2011/07/01 18:54:33 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.136 2011/07/28 04:06:09 uebayasi Exp $");
 
 #include "opt_ddb.h"
 #include "opt_kgdb.h"
@@ -581,7 +581,7 @@
                if ((mem = arcbios_GetMemoryDescriptor(mem)) != NULL) {
                        i++;
                        printf("Mem block %d: type %d, "
-                           "base 0x%04lx, size 0x%04lx\n",
+                           "base 0x%04"PRIx32", size 0x%04"PRIx32"\n",
                            i, mem->Type, mem->BasePage, mem->PageCount);
                }
        } while (mem != NULL);



Home | Main Index | Thread Index | Old Index