Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/ofppc/pci Use PRIxPTR



details:   https://anonhg.NetBSD.org/src/rev/d515b18750b6
branches:  trunk
changeset: 327153:d515b18750b6
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Feb 28 05:50:27 2014 +0000

description:
Use PRIxPTR

diffstat:

 sys/arch/ofppc/pci/ofwpci.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r 9cc3e17a2544 -r d515b18750b6 sys/arch/ofppc/pci/ofwpci.c
--- a/sys/arch/ofppc/pci/ofwpci.c       Fri Feb 28 05:49:21 2014 +0000
+++ b/sys/arch/ofppc/pci/ofwpci.c       Fri Feb 28 05:50:27 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ofwpci.c,v 1.11 2012/01/27 18:52:59 para Exp $ */
+/* $NetBSD: ofwpci.c,v 1.12 2014/02/28 05:50:27 matt Exp $ */
 
 /*-
  * Copyright (c) 2007 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ofwpci.c,v 1.11 2012/01/27 18:52:59 para Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ofwpci.c,v 1.12 2014/02/28 05:50:27 matt Exp $");
 
 #include "opt_pci.h"
 
@@ -151,10 +151,10 @@
            "ofwpci mem-space") != 0)
                panic("Can't init ofwpci mem tag");
 
-       aprint_debug("io base=0x%x offset=0x%x limit=0x%x\n",
+       aprint_debug("io base=0x%"PRIxPTR" offset=0x%"PRIxPTR" limit=0x%"PRIxPTR"\n",
            sc->sc_iot.pbs_base, sc->sc_iot.pbs_offset, sc->sc_iot.pbs_limit);
        
-       aprint_debug("mem base=0x%x offset=0x%x limit=0x%x\n",
+       aprint_debug("mem base=0x%"PRIxPTR" offset=0x%"PRIxPTR" limit=0x%"PRIxPTR"\n",
            sc->sc_memt.pbs_base, sc->sc_memt.pbs_offset,
            sc->sc_memt.pbs_limit);
        



Home | Main Index | Thread Index | Old Index