summaryrefslogtreecommitdiff
path: root/networking/arping.c
diff options
context:
space:
mode:
authorDenys Vlasenko2015-08-24 19:08:14 +0200
committerDenys Vlasenko2015-08-24 20:00:17 +0200
commit2db782bc7be70c34a756e2bc6d4a53e8f47bab20 (patch)
tree91d372a22639996578242a259eca0b163e705826 /networking/arping.c
parent729b70646cc748e1e88ddaec3ed542adcf7fa3da (diff)
downloadbusybox-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.c2
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: