svn commit: r316953 - head/sbin/savecore

Alexey Dokuchaev danfe at FreeBSD.org
Sat Apr 15 13:02:24 UTC 2017


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


More information about the svn-src-all mailing list