summaryrefslogtreecommitdiff
path: root/sbin/ping6
diff options
context:
space:
mode:
authorJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-30 21:32:46 +0000
committerJun-ichiro itojun Hagino <itojun@cvs.openbsd.org>2002-05-30 21:32:46 +0000
commitd1b39b9ad8cce1395ab9c6feb191c8543eb33fc6 (patch)
treef3d742c59b89c973a851f10cabe10f9882e4ff6e /sbin/ping6
parent1e630eaa495115cc7a8ec0a4613ed4b09edb9ca0 (diff)
missing "%s". from netbsd
Diffstat (limited to 'sbin/ping6')
-rw-r--r--sbin/ping6/ping6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ping6/ping6.c b/sbin/ping6/ping6.c
index 21e9fa824c5..da84cc1ced3 100644
--- a/sbin/ping6/ping6.c
+++ b/sbin/ping6/ping6.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ping6.c,v 1.46 2002/05/30 18:22:13 deraadt Exp $ */
+/* $OpenBSD: ping6.c,v 1.47 2002/05/30 21:32:45 itojun Exp $ */
/* $KAME: ping6.c,v 1.155 2002/05/26 13:18:25 itojun Exp $ */
/*
@@ -621,7 +621,7 @@ main(argc, argv)
error = getaddrinfo(gateway, NULL, &hints, &gres);
if (error) {
- errx(1, "getaddrinfo for the gateway %s",
+ errx(1, "getaddrinfo for the gateway %s: %s",
gateway, gai_strerror(error));
}
if (gres->ai_next && (options & F_VERBOSE))