Module Name: src
Committed By: matt
Date: Fri Feb 28 05:44:39 UTC 2014
Modified Files:
src/sys/arch/powerpc/powerpc: ofw_machdep.c
Log Message:
Use PRIx64
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/powerpc/powerpc/ofw_machdep.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/powerpc/powerpc/ofw_machdep.c
diff -u src/sys/arch/powerpc/powerpc/ofw_machdep.c:1.24 src/sys/arch/powerpc/powerpc/ofw_machdep.c:1.25
--- src/sys/arch/powerpc/powerpc/ofw_machdep.c:1.24 Wed Jun 12 15:11:08 2013
+++ src/sys/arch/powerpc/powerpc/ofw_machdep.c Fri Feb 28 05:44:39 2014
@@ -1,4 +1,4 @@
-/* $NetBSD: ofw_machdep.c,v 1.24 2013/06/12 15:11:08 kiyohara Exp $ */
+/* $NetBSD: ofw_machdep.c,v 1.25 2014/02/28 05:44:39 matt Exp $ */
/*
* Copyright (C) 1996 Wolfgang Solfrank.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofw_machdep.c,v 1.24 2013/06/12 15:11:08 kiyohara Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofw_machdep.c,v 1.25 2014/02/28 05:44:39 matt Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@@ -131,7 +131,7 @@ mem_regions(struct mem_region **memp, st
#endif
OFmem[memcnt].start = addr;
OFmem[memcnt].size = size;
- aprint_normal("mem region %d start=%llx size=%llx\n",
+ aprint_normal("mem region %d start=%"PRIx64" size=%"PRIx64"\n",
memcnt, addr, size);
memcnt++;
}
@@ -194,7 +194,7 @@ mem_regions(struct mem_region **memp, st
#endif
OFavail[cnt].start = addr;
OFavail[cnt].size = size;
- aprint_normal("avail region %d start=%llx size=%llx\n",
+ aprint_normal("avail region %d start=%#"PRIx64" size=%#"PRIx64"\n",
cnt, addr, size);
cnt++;
}