Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/isapnp PRIxPADDR instead of %lx to print bus_addr_t/...



details:   https://anonhg.NetBSD.org/src/rev/b5fbe6e3a763
branches:  trunk
changeset: 755146:b5fbe6e3a763
user:      jym <jym%NetBSD.org@localhost>
date:      Sun May 23 23:53:36 2010 +0000

description:
PRIxPADDR instead of %lx to print bus_addr_t/paddr_t variables.

diffstat:

 sys/dev/isapnp/i82365_isapnp.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r fad7fa87097f -r b5fbe6e3a763 sys/dev/isapnp/i82365_isapnp.c
--- a/sys/dev/isapnp/i82365_isapnp.c    Sun May 23 23:50:37 2010 +0000
+++ b/sys/dev/isapnp/i82365_isapnp.c    Sun May 23 23:53:36 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i82365_isapnp.c,v 1.30 2009/09/17 18:14:41 tsutsui Exp $       */
+/*     $NetBSD: i82365_isapnp.c,v 1.31 2010/05/23 23:53:36 jym Exp $   */
 
 /*
  * Copyright (c) 1998 Bill Sommerfeld.  All rights reserved.
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: i82365_isapnp.c,v 1.30 2009/09/17 18:14:41 tsutsui Exp $");
+__KERNEL_RCSID(0, "$NetBSD: i82365_isapnp.c,v 1.31 2010/05/23 23:53:36 jym Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -153,7 +153,7 @@
                printf(": can't alloc mem space\n");
                return;
        }
-       printf(": using iomem 0x%lx iosiz 0x%x", maddr, msize);
+       printf(": using iomem %#" PRIxPADDR " iosiz %#x", maddr, msize);
        sc->membase = maddr;
        sc->subregionmask = (1 << (msize / PCIC_MEM_PAGESIZE)) - 1;
 



Home | Main Index | Thread Index | Old Index