kldstat: align size to the right

This makes it easier to compare numbers directly.

PR:		215747
Submitted by:	"Alexander von Gernler" <grunk@pestilenz.org>
This commit is contained in:
Eitan Adler 2018-05-23 12:10:16 +00:00
parent aa677d07a1
commit d14732d366

View File

@ -80,7 +80,7 @@ printfile(int fileid, int verbose, int humanized)
printf("%2d %4d %p %5s %s", printf("%2d %4d %p %5s %s",
stat.id, stat.refs, stat.address, buf, stat.name); stat.id, stat.refs, stat.address, buf, stat.name);
} else { } else {
printf("%2d %4d %p %-8zx %s", printf("%2d %4d %p %8zx %s",
stat.id, stat.refs, stat.address, stat.size, stat.name); stat.id, stat.refs, stat.address, stat.size, stat.name);
} }
} }