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
This commit is contained in:
John Baldwin 2008-01-15 22:01:26 +00:00
parent 0678f786c4
commit 16670d1bd1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175369
2 changed files with 2 additions and 2 deletions

View file

@ -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");

View file

@ -209,7 +209,7 @@ busdma_map_sg_collapse(struct mbuf **m, bus_dma_segment_t *segs, int *nsegs)
m_tag_delete_chain(n, NULL);
if (cxgb_debug)
printf("cxgb_sge PIO_LEN=%ld\n", PIO_LEN);
printf("cxgb_sge PIO_LEN=%zd\n", PIO_LEN);
if (n->m_pkthdr.len <= PIO_LEN)
return (0);