diff options
| author | David E. O'Brien <obrien@FreeBSD.org> | 2003-02-23 19:49:30 +0000 |
|---|---|---|
| committer | David E. O'Brien <obrien@FreeBSD.org> | 2003-02-23 19:49:30 +0000 |
| commit | cc2f8c60cdd20d54da25c360beebe61df8ab4252 (patch) | |
| tree | a024434ca097ffac02c9cd2e166ad978886bc082 /sys/dev/mpt | |
| parent | 660a811fcd4e5e69f21d78fe5ae1301ec349c1ed (diff) | |
Notes
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 9a0a5ba9493d..1351354d5397 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); } |
