Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2017 07:43:44 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r317247 - head/sys/geom/eli
Message-ID:  <201704210743.v3L7hiBP063227@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Fri Apr 21 07:43:44 2017
New Revision: 317247
URL: https://svnweb.freebsd.org/changeset/base/317247

Log:
  Dump md_iterations as signed, which it really is.
  
  PR:		208305
  PR:		196834
  MFC after:	2 weeks

Modified:
  head/sys/geom/eli/g_eli.h

Modified: head/sys/geom/eli/g_eli.h
==============================================================================
--- head/sys/geom/eli/g_eli.h	Fri Apr 21 07:16:07 2017	(r317246)
+++ head/sys/geom/eli/g_eli.h	Fri Apr 21 07:43:44 2017	(r317247)
@@ -510,7 +510,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?201704210743.v3L7hiBP063227>