From 1c34cc42314e83d5e3ba2c631f090da502828474 Mon Sep 17 00:00:00 2001 From: matt Date: Fri, 28 Feb 2014 05:50:27 +0000 Subject: [PATCH] Use PRIxPTR --- sys/arch/ofppc/pci/ofwpci.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sys/arch/ofppc/pci/ofwpci.c b/sys/arch/ofppc/pci/ofwpci.c index c8d940bbf920..550b2127eec7 100644 --- a/sys/arch/ofppc/pci/ofwpci.c +++ b/sys/arch/ofppc/pci/ofwpci.c @@ -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 -__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_attach(device_t parent, device_t self, void *aux) "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);