Author: eadler Date: Sat May 26 05:15:07 2018 New Revision: 334236 URL: https://svnweb.freebsd.org/changeset/base/334236
Log: 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 <yur...@yuripv.net> Modified: head/sbin/kldstat/kldstat.c Modified: head/sbin/kldstat/kldstat.c ============================================================================== --- head/sbin/kldstat/kldstat.c Sat May 26 04:33:19 2018 (r334235) +++ head/sbin/kldstat/kldstat.c Sat May 26 05:15:07 2018 (r334236) @@ -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 _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"