svn commit: r291090 - head/usr.bin/vmstat

Alexey Dokuchaev danfe at FreeBSD.org
Fri Nov 20 11:12:42 UTC 2015


On Fri, Nov 20, 2015 at 12:01:36PM +0100, Oliver Pinter wrote:
> On 11/20/15, Craig Rodrigues <rodrigc at freebsd.org> wrote:
> > New Revision: 291090
> > URL: https://svnweb.freebsd.org/changeset/base/291090
> >
> > Log:
> >   Convert vmstat to use libxo.
> >
> > [...]
> > @@ -774,49 +804,64 @@ dovmstat(unsigned int interval, int reps
> >
> >  		fill_vmmeter(&sum);
> >  		fill_vmtotal(&total);
> > -		(void)printf("%1d %1d %1d",
> > +		xo_open_container("processes");
> > +		xo_emit("{:runnable/%1d} {:waiting/%ld} "
> > +		        "{:swapped-out/%ld}",
> 
> Are these %1d -> %ld conversions here intended or a typo?

Oliver, please learn how to quote email when replying properly, thank you.

./danfe


More information about the svn-src-all mailing list