diff options
Diffstat (limited to 'networking/arping.c')
-rw-r--r-- | networking/arping.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/arping.c b/networking/arping.c index 901578b68..2a256aaa0 100644 --- a/networking/arping.c +++ b/networking/arping.c | |||
@@ -375,7 +375,7 @@ int arping_main(int argc UNUSED_PARAM, char **argv) | |||
375 | xconnect(probe_fd, (struct sockaddr *) &G.probe_saddr, sizeof(G.probe_saddr)); | 375 | xconnect(probe_fd, (struct sockaddr *) &G.probe_saddr, sizeof(G.probe_saddr)); |
376 | bb_getsockname(probe_fd, (struct sockaddr *) &G.probe_saddr, sizeof(G.probe_saddr)); | 376 | bb_getsockname(probe_fd, (struct sockaddr *) &G.probe_saddr, sizeof(G.probe_saddr)); |
377 | if (G.probe_saddr.sin_family != AF_INET) | 377 | if (G.probe_saddr.sin_family != AF_INET) |
378 | bb_error_msg_and_die("no IP address configured"); | 378 | bb_simple_error_msg_and_die("no IP address configured"); |
379 | src = G.probe_saddr.sin_addr; | 379 | src = G.probe_saddr.sin_addr; |
380 | } | 380 | } |
381 | close(probe_fd); | 381 | close(probe_fd); |
@@ -430,7 +430,7 @@ int arping_main(int argc UNUSED_PARAM, char **argv) | |||
430 | /* Don't allow SIGALRMs while we process the reply */ | 430 | /* Don't allow SIGALRMs while we process the reply */ |
431 | sigprocmask(SIG_BLOCK, &G.sset, NULL); | 431 | sigprocmask(SIG_BLOCK, &G.sset, NULL); |
432 | if (cc < 0) { | 432 | if (cc < 0) { |
433 | bb_perror_msg("recvfrom"); | 433 | bb_simple_perror_msg("recvfrom"); |
434 | continue; | 434 | continue; |
435 | } | 435 | } |
436 | recv_pack(G.packet, cc, &from); | 436 | recv_pack(G.packet, cc, &from); |