summaryrefslogtreecommitdiffstats
path: root/sys/dev/cxgb/cxgb_sge.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2008-01-15 22:01:26 +0000
committerjhb <jhb@FreeBSD.org>2008-01-15 22:01:26 +0000
commite5e6d6bdf6f4856c0c717fa6c13976c85772feb5 (patch)
tree38e3a01068f72c7b9910bdfe409ed25a83145ee3 /sys/dev/cxgb/cxgb_sge.c
parent837d10831db91fb23919bf032d332ac1f5652b8d (diff)
downloadFreeBSD-src-e5e6d6bdf6f4856c0c717fa6c13976c85772feb5.zip
FreeBSD-src-e5e6d6bdf6f4856c0c717fa6c13976c85772feb5.tar.gz
Use '%zd' to print PIO_LEN since it involves a size_t (via sizeof()) to
appease the tinderbox on 32-bit platforms. Tested on: amd64, i386
Diffstat (limited to 'sys/dev/cxgb/cxgb_sge.c')
-rw-r--r--sys/dev/cxgb/cxgb_sge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cxgb/cxgb_sge.c b/sys/dev/cxgb/cxgb_sge.c
index 06ab98d..b758ac7 100644
--- a/sys/dev/cxgb/cxgb_sge.c
+++ b/sys/dev/cxgb/cxgb_sge.c
@@ -1251,7 +1251,7 @@ t3_encap(struct sge_qset *qs, struct mbuf **m, int count)
KASSERT(txsd->mi.mi_base == NULL, ("overwrting valid entry mi_base==%p",
txsd->mi.mi_base));
if (cxgb_debug)
- printf("uipc_mvec PIO_LEN=%ld\n", PIO_LEN);
+ printf("uipc_mvec PIO_LEN=%zd\n", PIO_LEN);
if (count > 1) {
panic("count > 1 not support in CVS\n");
OpenPOWER on IntegriCloud