Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 May 2018 12:10:16 +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: r334093 - head/sbin/kldstat
Message-ID:  <201805231210.w4NCAGTU099742@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Wed May 23 12:10:16 2018
New Revision: 334093
URL: https://svnweb.freebsd.org/changeset/base/334093

Log:
  kldstat: align size to the right
  
  This makes it easier to compare numbers directly.
  
  PR:		215747
  Submitted by:	"Alexander von Gernler" <grunk@pestilenz.org>

Modified:
  head/sbin/kldstat/kldstat.c

Modified: head/sbin/kldstat/kldstat.c
==============================================================================
--- head/sbin/kldstat/kldstat.c	Wed May 23 11:59:29 2018	(r334092)
+++ head/sbin/kldstat/kldstat.c	Wed May 23 12:10:16 2018	(r334093)
@@ -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);
 	}
     }



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