Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/usr.sbin/traceroute6 Pull up rev. 1.12:



details:   https://anonhg.NetBSD.org/src/rev/4e3c81254a13
branches:  netbsd-1-5
changeset: 488404:4e3c81254a13
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Mon Jul 03 22:39:00 2000 +0000

description:
Pull up rev. 1.12:
be more careful about arg to errx?/warnx? (do not pass variable directly,
it may contain "%").  from openbsd, via kame.

diffstat:

 usr.sbin/traceroute6/traceroute6.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (29 lines):

diff -r 435523ed8971 -r 4e3c81254a13 usr.sbin/traceroute6/traceroute6.c
--- a/usr.sbin/traceroute6/traceroute6.c        Mon Jul 03 22:38:13 2000 +0000
+++ b/usr.sbin/traceroute6/traceroute6.c        Mon Jul 03 22:39:00 2000 +0000
@@ -1,5 +1,5 @@
-/*     $NetBSD: traceroute6.c,v 1.11 2000/06/12 16:31:53 itojun Exp $  */
-/*     $KAME: traceroute6.c,v 1.29 2000/06/12 16:29:18 itojun Exp $    */
+/*     $NetBSD: traceroute6.c,v 1.11.2.1 2000/07/03 22:39:00 thorpej Exp $     */
+/*     $KAME: traceroute6.c,v 1.30 2000/06/30 18:56:01 itojun Exp $    */
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -79,7 +79,7 @@
 #else
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: traceroute6.c,v 1.11 2000/06/12 16:31:53 itojun Exp $");
+__RCSID("$NetBSD: traceroute6.c,v 1.11.2.1 2000/07/03 22:39:00 thorpej Exp $");
 #endif
 #endif
 
@@ -898,7 +898,7 @@
 
        buf = ipsec_set_policy(policy, strlen(policy));
        if (buf == NULL) {
-               warnx(ipsec_strerror());
+               warnx("%s", ipsec_strerror());
                return -1;
        }
        (void)setsockopt(so, IPPROTO_IPV6, IPV6_IPSEC_POLICY,



Home | Main Index | Thread Index | Old Index