Thu Jul 28 04:06:09 2011 UTC ()
Fix DEBUG build.


(uebayasi)
diff -r1.135 -r1.136 src/sys/arch/sgimips/sgimips/machdep.c

cvs diff -r1.135 -r1.136 src/sys/arch/sgimips/sgimips/machdep.c (expand / switch to context diff)
--- src/sys/arch/sgimips/sgimips/machdep.c 2011/07/01 18:54:33 1.135
+++ src/sys/arch/sgimips/sgimips/machdep.c 2011/07/28 04:06:09 1.136
@@ -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);