Date: Sat, 6 May 2017 00:51:25 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r317859 - stable/11/sys/geom/eli Message-ID: <201705060051.v460pPQ4052172@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Sat May 6 00:51:25 2017 New Revision: 317859 URL: https://svnweb.freebsd.org/changeset/base/317859 Log: MFC r317247: Dump md_iterations as signed, which it really is. PR: 208305 PR: 196834 Modified: stable/11/sys/geom/eli/g_eli.h Directory Properties: stable/11/ (props changed) Modified: stable/11/sys/geom/eli/g_eli.h ============================================================================== --- stable/11/sys/geom/eli/g_eli.h Sat May 6 00:50:24 2017 (r317858) +++ stable/11/sys/geom/eli/g_eli.h Sat May 6 00:51:25 2017 (r317859) @@ -499,7 +499,7 @@ eli_metadata_dump(const struct g_eli_met 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];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705060051.v460pPQ4052172>