summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>2014-10-29 02:23:50 +0000
committerjmg <jmg@FreeBSD.org>2014-10-29 02:23:50 +0000
commit56a1b95dea89fff33adde563ccf8787ace26a088 (patch)
treec52136bd67328876a415899fcd745eddd11aab8a
parent0362220f8523deb76f90becd015663a98ada3c98 (diff)
downloadFreeBSD-src-56a1b95dea89fff33adde563ccf8787ace26a088.zip
FreeBSD-src-56a1b95dea89fff33adde563ccf8787ace26a088.tar.gz
make this compile on arm... bus_size_t is not size_t, and it has
different sizes on different arches...
-rw-r--r--sys/dev/safe/safe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/safe/safe.c b/sys/dev/safe/safe.c
index dc20040..cfd00b6 100644
--- a/sys/dev/safe/safe.c
+++ b/sys/dev/safe/safe.c
@@ -1811,8 +1811,8 @@ safe_dma_malloc(
BUS_DMA_NOWAIT, &dma->dma_map);
if (r != 0) {
device_printf(sc->sc_dev, "safe_dma_malloc: "
- "bus_dmammem_alloc failed; size %zu, error %u\n",
- size, r);
+ "bus_dmammem_alloc failed; size %ju, error %u\n",
+ (uintmax_t)size, r);
goto fail_1;
}
OpenPOWER on IntegriCloud