summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-10-12 09:02:20 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2000-10-12 09:02:20 +0000
commit4ac31ed02e524b42025aadb4f962b29174307126 (patch)
tree1524076e329d0dce60f21fd40914e93f0eccb24a /sbin
parent65cecc9a06d5a8f081b86f018f1aa020aebd9d7b (diff)
printf-like string format pedant
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ping6/ping6.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c
index fc9844a0c30..0562db07dec 100644
--- a/sbin/ping6/ping6.c
+++ b/sbin/ping6/ping6.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: ping6.c,v 1.13 2000/10/08 00:27:44 itojun Exp $ */
-/* $KAME: ping6.c,v 1.91 2000/10/07 06:23:06 itojun Exp $ */
+/* $OpenBSD: ping6.c,v 1.14 2000/10/12 09:02:19 itojun Exp $ */
+/* $KAME: ping6.c,v 1.92 2000/10/11 00:04:47 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -780,7 +780,7 @@ main(argc, argv)
struct addrinfo *iaip;
if ((error = getaddrinfo(argv[hops], NULL, &hints, &iaip)))
- errx(1, gai_strerror(error));
+ errx(1, "%s", gai_strerror(error));
if (SIN6(iaip->ai_addr)->sin6_family != AF_INET6)
errx(1,
"bad addr family of an intermediate addr");