Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2018 05:15:08 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334236 - head/sbin/kldstat
Message-ID:  <201805260515.w4Q5F8mQ035725@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805260515.w4Q5F8mQ035725>