Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Apr 2017 13:02:23 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Ngie Cooper <ngie@FreeBSD.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r316953 - head/sbin/savecore
Message-ID:  <20170415130223.GB97090@FreeBSD.org>
In-Reply-To: <201704150653.v3F6r7hJ081000@repo.freebsd.org>
References:  <201704150653.v3F6r7hJ081000@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 15, 2017 at 06:53:07AM +0000, Ngie Cooper wrote:
> 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.
> ...  
> @@ -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)",

Thank you.  For once, the sanity had won.

./danfe



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