1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Fix printf specifier to allow 32/64 bit builds.

Obtained from:	projects/ppc64
This commit is contained in:
Peter Grehan 2010-07-12 21:09:55 +00:00
parent 588697d478
commit e6e2436774
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=209958

View File

@ -472,7 +472,7 @@ grackle_activate_resource(device_t bus, device_t child, int type, int rid,
start += sc->sc_iostart;
if (bootverbose)
printf("grackle mapdev: start %x, len %ld\n", start,
printf("grackle mapdev: start %zx, len %ld\n", start,
rman_get_size(res));
p = pmap_mapdev(start, (vm_size_t)rman_get_size(res));