From 2db782bc7be70c34a756e2bc6d4a53e8f47bab20 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Mon, 24 Aug 2015 19:08:14 +0200 Subject: Merge setsockopt error messages Signed-off-by: Denys Vlasenko --- networking/ping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'networking/ping.c') 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*/ -- cgit v1.2.3