Use %j to match intmax_t.

This commit is contained in:
Warner Losh 2012-07-01 05:22:13 +00:00
parent c9914f098f
commit a920522660
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=237875

View File

@ -321,7 +321,7 @@ g_map_parse_part(struct g_class *mp, struct g_provider *pp,
}
if (bootverbose) {
printf("MAP: %lxx%lx, data=%lxx%lx "
printf("MAP: %jxx%jx, data=%jxx%jx "
"\"/dev/map/%s\"\n",
(intmax_t)start, (intmax_t)size, (intmax_t)offset,
(intmax_t)dsize, name);