svn commit: r334236 - head/sbin/kldstat

Eitan Adler eadler at FreeBSD.org
Sat May 26 05:15:08 UTC 2018


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 <yuripv at 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


More information about the svn-src-all mailing list