Use %j and args cast to uintmax_t to print bus_addr_t && length args.
This commit is contained in:
parent
2c9c9b9f7f
commit
07589439e5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=168767
@ -594,8 +594,8 @@ bus_dmamap_load_mvec_sg(bus_dma_tag_t dmat, bus_dmamap_t map, struct mbuf *m0,
|
||||
error = _bus_dmamap_load_buffer(dmat, NULL,
|
||||
data, len, NULL, flags, &lastaddr,
|
||||
segs, nsegs, first);
|
||||
DPRINTF("%d: addr=0x%lx len=%ld\n", i, segs[i].ds_addr,
|
||||
segs[i].ds_len);
|
||||
DPRINTF("%d: addr=0x%jx len=%ju\n", i,
|
||||
(uintmax_t)segs[i].ds_addr, (uintmax_t)segs[i].ds_len);
|
||||
first = 0;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user