]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Stop assuming we can print rman_res_t with %lx
authorAndrew Turner <andrew@FreeBSD.org>
Thu, 18 Jun 2020 06:21:00 +0000 (06:21 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Thu, 18 Jun 2020 06:21:00 +0000 (06:21 +0000)
commitc794cdc0a2caaefe938f4603d52563ebeec9ce38
treed0d4654affceb94d57d866b681f45a965285f30d
parent4c7d1ab06db7f3163e1363bff031bbc3d5e3f88a
Stop assuming we can print rman_res_t with %lx

This is not the case on armv6 and armv7, where we also build this driver.
Fix by casting through uintmax_t and using %jx.

Sponsored by: Innovate UK
sys/dev/pci/pci_host_generic.c