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

Mark Johnston markj at FreeBSD.org
Sat Nov 21 23:04:14 UTC 2015


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 + "


More information about the svn-src-all mailing list