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");
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to