Dump md_iterations as signed, which it really is.

PR:		208305
PR:		196834
MFC after:	2 weeks
This commit is contained in:
Alexander Motin 2017-04-21 07:43:44 +00:00
parent d8880fd450
commit d109d8adc7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=317247

View File

@ -510,7 +510,7 @@ eli_metadata_dump(const struct g_eli_metadata *md)
printf(" provsize: %ju\n", (uintmax_t)md->md_provsize);
printf("sectorsize: %u\n", (u_int)md->md_sectorsize);
printf(" keys: 0x%02x\n", (u_int)md->md_keys);
printf("iterations: %u\n", (u_int)md->md_iterations);
printf("iterations: %d\n", (int)md->md_iterations);
bzero(str, sizeof(str));
for (i = 0; i < sizeof(md->md_salt); i++) {
str[i * 2] = hex[md->md_salt[i] >> 4];