make this compile on arm... bus_size_t is not size_t, and it has

different sizes on different arches...
This commit is contained in:
John-Mark Gurney 2014-10-29 02:23:50 +00:00
parent bd4d7b4fcb
commit d14c434667
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=273808

View File

@ -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;
}