summaryrefslogtreecommitdiff
path: root/sys/dev/ic
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/ic
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/ic')
-rw-r--r--sys/dev/ic/mfi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c
index 05a52d3c6be..cb8412eec15 100644
--- a/sys/dev/ic/mfi.c
+++ b/sys/dev/ic/mfi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mfi.c,v 1.151 2014/02/20 11:13:44 kettenis Exp $ */
+/* $OpenBSD: mfi.c,v 1.152 2014/05/04 20:09:15 sf Exp $ */
/*
* Copyright (c) 2006 Marco Peereboom <marco@peereboom.us>
*
@@ -733,7 +733,7 @@ mfi_attach(struct mfi_softc *sc, enum mfi_iop iop)
}
/* XXX hack, fix this */
if (MFIMEM_DVA(sc->sc_frames) & 0x3f) {
- printf("%s: improper frame alignment (%#x) FIXME\n",
+ printf("%s: improper frame alignment (%#lx) FIXME\n",
DEVNAME(sc), MFIMEM_DVA(sc->sc_frames));
goto noframe;
}