commit | 82604e973085f91f1b99cacea08963d0d1468084 | [log] [tgz] |
---|---|---|
author | Denis Vlasenko <vda.linux@googlemail.com> | Tue Jul 01 15:59:42 2008 +0000 |
committer | Denis Vlasenko <vda.linux@googlemail.com> | Tue Jul 01 15:59:42 2008 +0000 |
tree | 2de05bb2a6943ca6be0cc46f36e5fb07099aef40 | |
parent | b111917972c1398ef96ef2d388c6c4ba57a8e9f7 [diff] [blame] |
revert last two commits. vfork cannot be used in subroutine, it trashes stack on return
diff --git a/networking/inetd.c b/networking/inetd.c index 0028078..08c0995 100644 --- a/networking/inetd.c +++ b/networking/inetd.c
@@ -1303,7 +1303,7 @@ 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);