Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/powerpc/powerpc Use PRIx64



details:   https://anonhg.NetBSD.org/src/rev/71165ed70fef
branches:  trunk
changeset: 327149:71165ed70fef
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Feb 28 05:44:39 2014 +0000

description:
Use PRIx64

diffstat:

 sys/arch/powerpc/powerpc/ofw_machdep.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 5714d7254c26 -r 71165ed70fef sys/arch/powerpc/powerpc/ofw_machdep.c
--- a/sys/arch/powerpc/powerpc/ofw_machdep.c    Fri Feb 28 05:43:49 2014 +0000
+++ b/sys/arch/powerpc/powerpc/ofw_machdep.c    Fri Feb 28 05:44:39 2014 +0000
@@ -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 @@
 #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 @@
 #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++;
        }



Home | Main Index | Thread Index | Old Index