aboutsummaryrefslogtreecommitdiff
path: root/networking/inetd.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/inetd.c')
-rw-r--r--networking/inetd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index 7aa6b7b19..7030062b6 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -1271,7 +1271,7 @@ int inetd_main(int argc UNUSED_PARAM, char **argv)
1271 pid = vfork(); 1271 pid = vfork();
1272 1272
1273 if (pid < 0) { /* fork error */ 1273 if (pid < 0) { /* fork error */
1274 bb_perror_msg("fork"); 1274 bb_perror_msg("vfork"+1);
1275 sleep(1); 1275 sleep(1);
1276 restore_sigmask(&omask); 1276 restore_sigmask(&omask);
1277 maybe_close(accepted_fd); 1277 maybe_close(accepted_fd);
@@ -1380,7 +1380,7 @@ int inetd_main(int argc UNUSED_PARAM, char **argv)
1380 sigaction_set(SIGPIPE, &saved_pipe_handler); 1380 sigaction_set(SIGPIPE, &saved_pipe_handler);
1381 restore_sigmask(&omask); 1381 restore_sigmask(&omask);
1382 BB_EXECVP(sep->se_program, sep->se_argv); 1382 BB_EXECVP(sep->se_program, sep->se_argv);
1383 bb_perror_msg("exec %s", sep->se_program); 1383 bb_perror_msg("can't execute '%s'", sep->se_program);
1384 do_exit1: 1384 do_exit1:
1385 /* eat packet in udp case */ 1385 /* eat packet in udp case */
1386 if (sep->se_socktype != SOCK_STREAM) 1386 if (sep->se_socktype != SOCK_STREAM)