cvs commit: src/sys/i386/i386 busdma_machdep.c
Bjoern A. Zeeb
bzeeb-lists at lists.zabbadoz.net
Tue Nov 9 08:43:46 GMT 2004
On Tue, 9 Nov 2004, Scott Long wrote:
> scottl 2004-11-09 07:07:54 UTC
>
> FreeBSD src repository
>
> Modified files:
> sys/i386/i386 busdma_machdep.c
> Log:
..
> MFC After: 1 week
>
> Revision Changes Path
> 1.63 +140 -36 src/sys/i386/i386/busdma_machdep.c
diff -u -p -r1.63 busdma_machdep.c
--- busdma_machdep.c 9 Nov 2004 07:07:54 -0000 1.63
+++ busdma_machdep.c 9 Nov 2004 08:24:55 -0000
@@ -919,7 +919,7 @@ alloc_bounce_zone(bus_dma_tag_t dmat)
bz->boundary = dmat->boundary;
snprintf(bz->zoneid, 8, "zone%d", busdma_zonecount);
busdma_zonecount++;
- snprintf(bz->lowaddrid, 18, "%#jx", bz->lowaddr);
+ snprintf(bz->lowaddrid, 18, "%#jx", (uintmax_t)bz->lowaddr);
STAILQ_INSERT_TAIL(&bounce_zone_list, bz, links);
sysctl_ctx_init(&bz->sysctl_tree);
?
imho bz->lowaddr is either uint32_t or uint64_t depending on -DPAE
--
Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT
More information about the cvs-src
mailing list