Date: Wed, 23 May 2018 15:14:20 +0300 From: Yuri Pankov <yuripv@yuripv.net> To: Eitan Adler <eadler@FreeBSD.org>, svn-src-head@freebsd.org Subject: Re: svn commit: r334093 - head/sbin/kldstat Message-ID: <4fc0d605-106a-d1b1-d97c-3e9b866baea5@yuripv.net> In-Reply-To: <201805231210.w4NCAGTU099742@repo.freebsd.org> References: <201805231210.w4NCAGTU099742@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Eitan Adler wrote: > Author: eadler > Date: Wed May 23 12:10:16 2018 > New Revision: 334093 > URL: https://svnweb.freebsd.org/changeset/base/334093 > > Log: > kldstat: align size to the right You should make the "Size" in header right-aligned as well then. > This makes it easier to compare numbers directly. > > PR: 215747 > Submitted by: "Alexander von Gernler" <grunk@pestilenz.org> > > Modified: > head/sbin/kldstat/kldstat.c > > Modified: head/sbin/kldstat/kldstat.c > ============================================================================== > --- head/sbin/kldstat/kldstat.c Wed May 23 11:59:29 2018 (r334092) > +++ head/sbin/kldstat/kldstat.c Wed May 23 12:10:16 2018 (r334093) > @@ -80,7 +80,7 @@ printfile(int fileid, int verbose, int humanized) > printf("%2d %4d %p %5s %s", > stat.id, stat.refs, stat.address, buf, stat.name); > } else { > - printf("%2d %4d %p %-8zx %s", > + printf("%2d %4d %p %8zx %s", > stat.id, stat.refs, stat.address, stat.size, stat.name); > } > }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4fc0d605-106a-d1b1-d97c-3e9b866baea5>