diff options
Diffstat (limited to 'sys/dev/mpt')
-rw-r--r-- | sys/dev/mpt/mpt_pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/mpt/mpt_pci.c b/sys/dev/mpt/mpt_pci.c index 9a0a5ba..1351354 100644 --- a/sys/dev/mpt/mpt_pci.c +++ b/sys/dev/mpt/mpt_pci.c @@ -519,8 +519,8 @@ mpt_dma_mem_alloc(mpt_softc_t *mpt) /* Allocate some DMA accessable memory for replies */ if (bus_dmamem_alloc(mpt->reply_dmat, (void **)&mpt->reply, BUS_DMA_NOWAIT, &mpt->reply_dmap) != 0) { - device_printf(dev, "cannot allocate %d bytes of reply memory\n", - PAGE_SIZE); + device_printf(dev, "cannot allocate %lu bytes of reply memory\n", + (u_long)PAGE_SIZE); return (1); } |