mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-03 23:28:58 +00:00
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:
parent
0678f786c4
commit
16670d1bd1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=175369
|
@ -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");
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue