From d109d8adc7c0b85d97680917b3da60ff12ebe587 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Fri, 21 Apr 2017 07:43:44 +0000 Subject: [PATCH] Dump md_iterations as signed, which it really is. PR: 208305 PR: 196834 MFC after: 2 weeks --- sys/geom/eli/g_eli.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/geom/eli/g_eli.h b/sys/geom/eli/g_eli.h index 2267f7434476..fd7ac169ee25 100644 --- a/sys/geom/eli/g_eli.h +++ b/sys/geom/eli/g_eli.h @@ -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];