summaryrefslogtreecommitdiffstats
path: root/sys/dev/em
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2003-05-06 03:55:12 +0000
committerdes <des@FreeBSD.org>2003-05-06 03:55:12 +0000
commitcab6ea84f72512a2a5ee7b5ad7e85a5425eb9146 (patch)
treec9110816140c3eb4bc43301a31c65b5db78a6d5d /sys/dev/em
parentae220ed3abbcf8150d3ba340298882867bf5d347 (diff)
downloadFreeBSD-src-cab6ea84f72512a2a5ee7b5ad7e85a5425eb9146.zip
FreeBSD-src-cab6ea84f72512a2a5ee7b5ad7e85a5425eb9146.tar.gz
Fix a printf() format error which broke the ia64 GENERIC build.
Diffstat (limited to 'sys/dev/em')
-rw-r--r--sys/dev/em/if_em.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c
index 70f67129..f5cbf56 100644
--- a/sys/dev/em/if_em.c
+++ b/sys/dev/em/if_em.c
@@ -1777,7 +1777,8 @@ em_dma_malloc(struct adapter *adapter, bus_size_t size,
BUS_DMA_NOWAIT, &dma->dma_map);
if (r != 0) {
printf("em%d: em_dma_malloc: bus_dmammem_alloc failed; "
- "size %u, error %u\n", adapter->unit, size, r);
+ "size %ju, error %d\n", adapter->unit,
+ (uintmax_t)size, r);
goto fail_2;
}
OpenPOWER on IntegriCloud