svn commit: r334093 - head/sbin/kldstat

Yuri Pankov yuripv at yuripv.net
Wed May 23 12:14:23 UTC 2018


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 at 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);
>   	}
>       }


More information about the svn-src-head mailing list