Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Apr 2017 20:20:04 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r316742 - head/sbin/savecore
Message-ID:  <201704122020.v3CKK4bt019979@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Wed Apr 12 20:20:04 2017
New Revision: 316742
URL: https://svnweb.freebsd.org/changeset/base/316742

Log:
  Clarify units for mediasize and sectorsize in DoFile(..)
  
  They're byte quantities.
  
  MFC after:	7 weeks
  Sponsored by:	Dell EMC Isilon

Modified:
  head/sbin/savecore/savecore.c

Modified: head/sbin/savecore/savecore.c
==============================================================================
--- head/sbin/savecore/savecore.c	Wed Apr 12 20:18:38 2017	(r316741)
+++ head/sbin/savecore/savecore.c	Wed Apr 12 20:20:04 2017	(r316742)
@@ -519,8 +519,8 @@ DoFile(const char *savedir, const char *
 	}
 
 	if (verbose) {
-		printf("mediasize = %lld\n", (long long)mediasize);
-		printf("sectorsize = %u\n", sectorsize);
+		printf("mediasize = %lld bytes\n", (long long)mediasize);
+		printf("sectorsize = %u bytes\n", sectorsize);
 	}
 
 	if (sectorsize < sizeof(kdhl)) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704122020.v3CKK4bt019979>