aboutsummaryrefslogtreecommitdiff
path: root/networking/ping.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2015-08-24 19:08:14 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2015-08-24 20:00:17 +0200
commit2db782bc7be70c34a756e2bc6d4a53e8f47bab20 (patch)
tree91d372a22639996578242a259eca0b163e705826 /networking/ping.c
parent729b70646cc748e1e88ddaec3ed542adcf7fa3da (diff)
downloadbusybox-2db782bc7be70c34a756e2bc6d4a53e8f47bab20.tar.gz
Merge setsockopt error messages
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ping.c')
-rw-r--r--networking/ping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/ping.c b/networking/ping.c
index c475395e7..20489a070 100644
--- a/networking/ping.c
+++ b/networking/ping.c
@@ -756,7 +756,7 @@ static void ping6(len_and_sockaddr *lsa)
}
if (setsockopt(pingsock, IPPROTO_ICMPV6, ICMP6_FILTER, &filt,
sizeof(filt)) < 0)
- bb_error_msg_and_die("setsockopt(ICMP6_FILTER)");
+ bb_error_msg_and_die("setsockopt(%s)", "ICMP6_FILTER");
}
#endif /*ICMP6_FILTER*/