diff options
Diffstat (limited to 'networking/tcpudp.c')
-rw-r--r-- | networking/tcpudp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/networking/tcpudp.c b/networking/tcpudp.c index a0af64981..8c4afabf6 100644 --- a/networking/tcpudp.c +++ b/networking/tcpudp.c | |||
@@ -325,7 +325,7 @@ int tcpudpsvd_main(int argc UNUSED_PARAM, char **argv) | |||
325 | client = 0; | 325 | client = 0; |
326 | if ((getuid() == 0) && !(opts & OPT_u)) { | 326 | if ((getuid() == 0) && !(opts & OPT_u)) { |
327 | xfunc_error_retval = 100; | 327 | xfunc_error_retval = 100; |
328 | bb_error_msg_and_die(bb_msg_you_must_be_root); | 328 | bb_simple_error_msg_and_die(bb_msg_you_must_be_root); |
329 | } | 329 | } |
330 | if (opts & OPT_u) | 330 | if (opts & OPT_u) |
331 | if (!uidgid_get(&sslugid, ssluser, 1)) { | 331 | if (!uidgid_get(&sslugid, ssluser, 1)) { |
@@ -419,7 +419,7 @@ int tcpudpsvd_main(int argc UNUSED_PARAM, char **argv) | |||
419 | sig_block(SIGCHLD); | 419 | sig_block(SIGCHLD); |
420 | if (conn < 0) { | 420 | if (conn < 0) { |
421 | if (errno != EINTR) | 421 | if (errno != EINTR) |
422 | bb_perror_msg(tcp ? "accept" : "recv"); | 422 | bb_simple_perror_msg(tcp ? "accept" : "recv"); |
423 | goto again2; | 423 | goto again2; |
424 | } | 424 | } |
425 | xmove_fd(tcp ? conn : sock, 0); | 425 | xmove_fd(tcp ? conn : sock, 0); |
@@ -484,7 +484,7 @@ int tcpudpsvd_main(int argc UNUSED_PARAM, char **argv) | |||
484 | 484 | ||
485 | pid = vfork(); | 485 | pid = vfork(); |
486 | if (pid == -1) { | 486 | if (pid == -1) { |
487 | bb_perror_msg("vfork"); | 487 | bb_simple_perror_msg("vfork"); |
488 | goto again; | 488 | goto again; |
489 | } | 489 | } |
490 | 490 | ||