Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 2017 06:53:07 +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: r316953 - head/sbin/savecore
Message-ID:  <201704150653.v3F6r7hJ081000@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Sat Apr 15 06:53:07 2017
New Revision: 316953
URL: https://svnweb.freebsd.org/changeset/base/316953

Log:
  Switch back to non-IEC units for 1024 bytes
  
  I was swayed a little too quickly when I saw the wiki page discussing
  kB vs KiB. Switch back as none of the code in base openly uses
  IEC units via humanize_number(3) (which was my next step), and there's
  a large degree of dislike with IEC vs more SI-like units.
  
  MFC after:	7 weeks
  Submitted by:	jhb, rgrimes
  Sponsored by:	Dell EMC Isilon

Modified:
  head/sbin/savecore/savecore.c

Modified: head/sbin/savecore/savecore.c
==============================================================================
--- head/sbin/savecore/savecore.c	Sat Apr 15 03:28:13 2017	(r316952)
+++ head/sbin/savecore/savecore.c	Sat Apr 15 06:53:07 2017	(r316953)
@@ -322,7 +322,7 @@ check_space(const char *savedir, off_t d
 	if (available < needed) {
 		syslog(LOG_WARNING,
 		    "no dump: not enough free space on device (need at least "
-		    "%jdKiB for dump; %jdKiB available; %jdKiB reserved)",
+		    "%jdkB for dump; %jdkB available; %jdkB reserved)",
 		    (intmax_t)needed,
 		    (intmax_t)available + minfree,
 		    (intmax_t)minfree);



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