kldstat: align "Size" to the right

This change also makes alignment and spacing an explicit number rather
than a bunch of spaces.

Reviewed by:	mmacy
Requested by:	Yuri Pankov <yuripv@yuripv.net>
This commit is contained in:
Eitan Adler 2018-05-26 05:15:07 +00:00
parent 5ab39b6552
commit 73d1ecdc98
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334236

View File

@ -190,9 +190,9 @@ main(int argc, char** argv)
}
if (humanized)
printf("Id Refs Address%*c Size Name\n", POINTER_WIDTH - 7, ' ');
printf("Id Refs Address%*c %5s Name\n", POINTER_WIDTH - 7, ' ', "Size");
else
printf("Id Refs Address%*c Size Name\n", POINTER_WIDTH - 7, ' ');
printf("Id Refs Address%*c %8s Name\n", POINTER_WIDTH - 7, ' ', "Size");
if (fileid != 0)
printfile(fileid, verbose, humanized);
else