summaryrefslogtreecommitdiff
path: root/sys/dev/pci/bktr
diff options
context:
space:
mode:
authorStefan Fritsch <sf@cvs.openbsd.org>2014-05-04 20:09:16 +0000
committerStefan Fritsch <sf@cvs.openbsd.org>2014-05-04 20:09:16 +0000
commit4be89f79911bec24362f5ba21986c3fb06705efb (patch)
tree9be9e830d1f874fddb3f59b5c43eaa9c5298f0b3 /sys/dev/pci/bktr
parentd86c60b8e115f0f6c93348f311c7025836af60f2 (diff)
format string fixes for bus_addr_t and bus_size_t
bus_addr_t and bus_size_t are u_long everywhere ok kettenis@
Diffstat (limited to 'sys/dev/pci/bktr')
-rw-r--r--sys/dev/pci/bktr/bktr_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/bktr/bktr_core.c b/sys/dev/pci/bktr/bktr_core.c
index 58cee989a0a..c518c28b94d 100644
--- a/sys/dev/pci/bktr/bktr_core.c
+++ b/sys/dev/pci/bktr/bktr_core.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bktr_core.c,v 1.32 2013/11/26 20:33:18 deraadt Exp $ */
+/* $OpenBSD: bktr_core.c,v 1.33 2014/05/04 20:09:15 sf Exp $ */
/* $FreeBSD: src/sys/dev/bktr/bktr_core.c,v 1.114 2000/10/31 13:09:56 roger Exp $ */
/*
@@ -386,7 +386,7 @@ common_bktr_attach( bktr_ptr_t bktr, int unit, u_int pci_id, u_int rev )
buf = 0;
if ( bootverbose ) {
- printf("%s: buffer size %d, addr 0x%x\n",
+ printf("%s: buffer size %d, addr 0x%lx\n",
bktr_name(bktr), BROOKTREE_ALLOC,
bktr->dm_prog->dm_segs->ds_addr);
}