Lines 497-503
eli_metadata_dump(const struct g_eli_metadata *md)
Link Here
|
497 |
printf(" provsize: %ju\n", (uintmax_t)md->md_provsize); |
497 |
printf(" provsize: %ju\n", (uintmax_t)md->md_provsize); |
498 |
printf("sectorsize: %u\n", (u_int)md->md_sectorsize); |
498 |
printf("sectorsize: %u\n", (u_int)md->md_sectorsize); |
499 |
printf(" keys: 0x%02x\n", (u_int)md->md_keys); |
499 |
printf(" keys: 0x%02x\n", (u_int)md->md_keys); |
500 |
printf("iterations: %u\n", (u_int)md->md_iterations); |
500 |
printf("iterations: %i\n", md->md_iterations); |
501 |
bzero(str, sizeof(str)); |
501 |
bzero(str, sizeof(str)); |
502 |
for (i = 0; i < sizeof(md->md_salt); i++) { |
502 |
for (i = 0; i < sizeof(md->md_salt); i++) { |
503 |
str[i * 2] = hex[md->md_salt[i] >> 4]; |
503 |
str[i * 2] = hex[md->md_salt[i] >> 4]; |
504 |
- |
|
|