svn commit: r316953 - head/sbin/savecore
Ngie Cooper
ngie at FreeBSD.org
Sat Apr 15 06:53:09 UTC 2017
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);
More information about the svn-src-all
mailing list