diff options
author | mjacob <mjacob@FreeBSD.org> | 2003-01-02 04:21:52 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2003-01-02 04:21:52 +0000 |
commit | 756d4bb7c33b7f4ac127984b4b0c07696f6f01d5 (patch) | |
tree | a02353d4f5d2706167d6a3dc8fb861c147c85001 | |
parent | 94424ed19e55e17e295c06c402877a6a21cc35c0 (diff) | |
download | FreeBSD-src-756d4bb7c33b7f4ac127984b4b0c07696f6f01d5.zip FreeBSD-src-756d4bb7c33b7f4ac127984b4b0c07696f6f01d5.tar.gz |
Make compiles (LINT and/or ISP_TARGET_MODE options) happier by making sure
printf type format args and actual args match.
Reviewed by: Sam Leffler <sam@errno.com>
-rw-r--r-- | sys/dev/isp/isp_pci.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sys/dev/isp/isp_pci.c b/sys/dev/isp/isp_pci.c index f6e767e..9636a7f 100644 --- a/sys/dev/isp/isp_pci.c +++ b/sys/dev/isp/isp_pci.c @@ -1538,9 +1538,10 @@ tdma_mkfc(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error) cto->rsp.m0.ct_dataseg[cto->ct_seg_count].ds_count = dm_segs[segcnt].ds_len; cto->rsp.m0.ct_xfrlen += dm_segs[segcnt].ds_len; - isp_prt(isp, ISP_LOGTDEBUG1, "isp_send_ctio2: ent0[%d]0x%x:%d", - cto->ct_seg_count, dm_segs[segcnt].ds_addr, - dm_segs[segcnt].ds_len); + isp_prt(isp, ISP_LOGTDEBUG1, + "isp_send_ctio2: ent0[%d]0x%llx:%lld", + cto->ct_seg_count, (long long)dm_segs[segcnt].ds_addr, + (long long)dm_segs[segcnt].ds_len); } while (segcnt < nseg) { @@ -1567,9 +1568,10 @@ tdma_mkfc(void *arg, bus_dma_segment_t *dm_segs, int nseg, int error) crq->req_dataseg[seg].ds_base = dm_segs[segcnt].ds_addr; crq->req_dataseg[seg].ds_count = dm_segs[segcnt].ds_len; isp_prt(isp, ISP_LOGTDEBUG1, - "isp_send_ctio2: ent%d[%d]%x:%u", + "isp_send_ctio2: ent%d[%d]0x%llx:%lld", cto->ct_header.rqs_entry_count-1, seg, - dm_segs[segcnt].ds_addr, dm_segs[segcnt].ds_len); + (long long) dm_segs[segcnt].ds_addr, + (long long) dm_segs[segcnt].ds_len); cto->rsp.m0.ct_xfrlen += dm_segs[segcnt].ds_len; cto->ct_seg_count++; } |