diff options
author | Denys Vlasenko | 2015-08-24 19:08:14 +0200 |
---|---|---|
committer | Denys Vlasenko | 2015-08-24 20:00:17 +0200 |
commit | 2db782bc7be70c34a756e2bc6d4a53e8f47bab20 (patch) | |
tree | 91d372a22639996578242a259eca0b163e705826 /networking/arping.c | |
parent | 729b70646cc748e1e88ddaec3ed542adcf7fa3da (diff) | |
download | busybox-2db782bc7be70c34a756e2bc6d4a53e8f47bab20.zip busybox-2db782bc7be70c34a756e2bc6d4a53e8f47bab20.tar.gz |
Merge setsockopt error messages
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/arping.c')
-rw-r--r-- | networking/arping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/arping.c b/networking/arping.c index 8be1aac..9ac4a7c 100644 --- a/networking/arping.c +++ b/networking/arping.c @@ -358,7 +358,7 @@ int arping_main(int argc UNUSED_PARAM, char **argv) saddr.sin_addr = dst; if (setsockopt(probe_fd, SOL_SOCKET, SO_DONTROUTE, &const_int_1, sizeof(const_int_1)) == -1) - bb_perror_msg("setsockopt(SO_DONTROUTE)"); + bb_perror_msg("setsockopt(%s)", "SO_DONTROUTE"); xconnect(probe_fd, (struct sockaddr *) &saddr, sizeof(saddr)); getsockname(probe_fd, (struct sockaddr *) &saddr, &alen); //never happens: |