diff options
Diffstat (limited to 'networking/nc.c')
-rw-r--r-- | networking/nc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/nc.c b/networking/nc.c index b208f46c6..705b7356a 100644 --- a/networking/nc.c +++ b/networking/nc.c @@ -112,7 +112,7 @@ static void timeout(int signum UNUSED_PARAM) { - bb_error_msg_and_die("timed out"); + bb_simple_error_msg_and_die("timed out"); } int nc_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; @@ -211,7 +211,7 @@ int nc_main(int argc, char **argv) accept_again: cfd = accept(sfd, NULL, 0); if (cfd < 0) - bb_perror_msg_and_die("accept"); + bb_simple_perror_msg_and_die("accept"); if (!execparam) close(sfd); } else { @@ -260,7 +260,7 @@ int nc_main(int argc, char **argv) int nread; if (safe_poll(pfds, 2, -1) < 0) - bb_perror_msg_and_die("poll"); + bb_simple_perror_msg_and_die("poll"); fdidx = 0; while (1) { |