svn commit: r354154 - head/usr.bin/vmstat

Edward Tomasz Napierala trasz at FreeBSD.org
Tue Oct 29 20:28:03 UTC 2019


Author: trasz
Date: Tue Oct 29 20:28:02 2019
New Revision: 354154
URL: https://svnweb.freebsd.org/changeset/base/354154

Log:
  Fix column title alignment.
  
  MFC after:	2 weeks

Modified:
  head/usr.bin/vmstat/vmstat.c

Modified: head/usr.bin/vmstat/vmstat.c
==============================================================================
--- head/usr.bin/vmstat/vmstat.c	Tue Oct 29 19:36:21 2019	(r354153)
+++ head/usr.bin/vmstat/vmstat.c	Tue Oct 29 20:28:02 2019	(r354154)
@@ -867,11 +867,11 @@ printhdr(int maxid, u_long cpumask)
 
 	num_shown = MIN(num_selected, maxshowdevs);
 	if (hflag)
-		xo_emit("{T:procs}  {T:memory}       {T:/page%*s}", 19, "");
+		xo_emit("{T:procs}  {T:memory}      {T:/page%*s}", 19, "");
 	else
-		xo_emit("{T:procs}     {T:memory}        {T:/page%*s}", 19, "");
+		xo_emit("{T:procs}     {T:memory}       {T:/page%*s}", 19, "");
 	if (num_shown > 1)
-		xo_emit(" {T:/disks %*s}", num_shown * 4 - 7, "");
+		xo_emit("    {T:/disks %*s}", num_shown * 4 - 7, "");
 	else if (num_shown == 1)
 		xo_emit("   {T:disks}");
 	xo_emit("   {T:faults}      ");


More information about the svn-src-head mailing list