Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Jul 2015 02:38:52 +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: r285708 - head/usr.bin/netstat
Message-ID:  <201507200238.t6K2cqqx006683@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Mon Jul 20 02:38:51 2015
New Revision: 285708
URL: https://svnweb.freebsd.org/changeset/base/285708

Log:
  Fix some libxo format string errors in the pfkey stats code.
  
  PR:	201700

Modified:
  head/usr.bin/netstat/pfkey.c

Modified: head/usr.bin/netstat/pfkey.c
==============================================================================
--- head/usr.bin/netstat/pfkey.c	Sun Jul 19 23:37:45 2015	(r285707)
+++ head/usr.bin/netstat/pfkey.c	Mon Jul 20 02:38:51 2015	(r285708)
@@ -128,7 +128,7 @@ pfkey_stats(u_long off, const char *name
 	xo_emit(m, (uintmax_t)pfkeystat.f, plural(pfkeystat.f))
 
 	/* userland -> kernel */
-	p(out_total, "\t{:sent-requests//%ju} "
+	p(out_total, "\t{:sent-requests/%ju} "
 	    "{N:/request%s sent from userland}\n");
 	p(out_bytes, "\t{:sent-bytes/%ju} "
 	    "{N:/byte%s sent from userland}\n");
@@ -165,7 +165,7 @@ pfkey_stats(u_long off, const char *name
 	    "{N:/message%s with duplicate extension}\n");
 	p(out_invexttype, "\t{:dropped-bad-extension/%ju} "
 	    "{N:/message%s with invalid extension type}\n");
-	p(out_invsatype, "\t:dropped-bad-sa-type/%ju} "
+	p(out_invsatype, "\t{:dropped-bad-sa-type/%ju} "
 	    "{N:/message%s with invalid sa type}\n");
 	p(out_invaddr, "\t{:dropped-bad-address-extension/%ju} "
 	    "{N:/message%s with invalid address extension}\n");



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