svn commit: r258901 - head/usr.sbin/mfiutil

John Baldwin jhb at freebsd.org
Wed Dec 4 14:46:56 UTC 2013


On Wednesday, December 04, 2013 12:00:16 am Eitan Adler wrote:
> On Tue, Dec 3, 2013 at 7:28 PM, Sean Bruno <sbruno at freebsd.org> wrote:
> > Author: sbruno
> > Date: Wed Dec  4 00:28:44 2013
> > New Revision: 258901
> > URL: http://svnweb.freebsd.org/changeset/base/258901
> >
> > Log:
> >   svn r251516 resized the buf argument a bit too much.  Pass a hardcoded
> >   size of 6 to humanize_number() to resolve this.
> 
> Where is the value of 6 derived from?

It was the old size of buf.  It's a value that allows humanize_number always 
use the largest 2^(10*n) unit.

-- 
John Baldwin


More information about the svn-src-head mailing list