Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Nov 2015 23:04:13 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r291148 - head/usr.bin/vmstat
Message-ID:  <201511212304.tALN4D81009851@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Sat Nov 21 23:04:12 2015
New Revision: 291148
URL: https://svnweb.freebsd.org/changeset/base/291148

Log:
  Add a missing brace to fix vmstat -s output.

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

Modified: head/usr.bin/vmstat/vmstat.c
==============================================================================
--- head/usr.bin/vmstat/vmstat.c	Sat Nov 21 21:44:11 2015	(r291147)
+++ head/usr.bin/vmstat/vmstat.c	Sat Nov 21 23:04:12 2015	(r291148)
@@ -1113,7 +1113,7 @@ dosum(void)
 	nchtotal = lnchstats.ncs_goodhits + lnchstats.ncs_neghits +
 	    lnchstats.ncs_badhits + lnchstats.ncs_falsehits +
 	    lnchstats.ncs_miss + lnchstats.ncs_long;
-	xo_emit(":total-name-lookups/%9ld} {N:total name lookups}\n",
+	xo_emit("{:total-name-lookups/%9ld} {N:total name lookups}\n",
 	        nchtotal);
 	xo_emit("{P:/%9s} {N:cache hits} "
 	        "({:positive-cache-hits/%ld}% pos + "



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