summaryrefslogtreecommitdiffhomepage
path: root/networking/inetd.c
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2008-07-01 15:59:42 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2008-07-01 15:59:42 +0000
commit82604e973085f91f1b99cacea08963d0d1468084 (patch)
tree2de05bb2a6943ca6be0cc46f36e5fb07099aef40 /networking/inetd.c
parentb111917972c1398ef96ef2d388c6c4ba57a8e9f7 (diff)
revert last two commits. vfork cannot be used in subroutine,
it trashes stack on return
Diffstat (limited to 'networking/inetd.c')
-rw-r--r--networking/inetd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/inetd.c b/networking/inetd.c
index 0028078db..08c09953b 100644
--- a/networking/inetd.c
+++ b/networking/inetd.c
@@ -1303,7 +1303,7 @@ int inetd_main(int argc ATTRIBUTE_UNUSED, char **argv)
pid = vfork();
if (pid < 0) { /* fork error */
- bb_perror_msg(BB_MMU ? "vfork" + 1 : "vfork");
+ bb_perror_msg("fork");
sleep(1);
restore_sigmask(&omask);
maybe_close(accepted_fd);