Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2019 20:28:03 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r354154 - head/usr.bin/vmstat
Message-ID:  <201910292028.x9TKS3KN019088@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}      ");



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