aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2015-07-20 02:38:51 +0000
committerMark Johnston <markj@FreeBSD.org>2015-07-20 02:38:51 +0000
commit4ffc6e480d2775e27c5b46600050489261e58463 (patch)
treeaee3a8beadd7a733d5582564cc062229aef8a9ba
parentbe00e098188c0dec135fb449334593731abc0033 (diff)
Fix some libxo format string errors in the pfkey stats code.
PR: 201700
Notes
Notes: svn path=/head/; revision=285708
-rw-r--r--usr.bin/netstat/pfkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/netstat/pfkey.c b/usr.bin/netstat/pfkey.c
index fbf330f88246..1a60b488462c 100644
--- a/usr.bin/netstat/pfkey.c
+++ b/usr.bin/netstat/pfkey.c
@@ -128,7 +128,7 @@ pfkey_stats(u_long off, const char *name, int family __unused,
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, int family __unused,
"{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");