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:
eadler 2018-05-23 12:10:16 +00:00
parent 257c2aaf3b
commit 8b00a6cb9a

View File

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