diff options
author | jmg <jmg@FreeBSD.org> | 2014-10-29 02:23:50 +0000 |
---|---|---|
committer | jmg <jmg@FreeBSD.org> | 2014-10-29 02:23:50 +0000 |
commit | 56a1b95dea89fff33adde563ccf8787ace26a088 (patch) | |
tree | c52136bd67328876a415899fcd745eddd11aab8a | |
parent | 0362220f8523deb76f90becd015663a98ada3c98 (diff) | |
download | FreeBSD-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.c | 4 |
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; } |