Merge setsockopt error messages

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2015-08-24 19:08:14 +02:00
parent 729b70646c
commit 2db782bc7b
3 changed files with 6 additions and 6 deletions

View File

@ -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*/