diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-01 19:59:42 +0400 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-07-01 19:59:42 +0400 |
commit | 82604e973085f91f1b99cacea08963d0d1468084 (patch) | |
tree | 2de05bb2a6943ca6be0cc46f36e5fb07099aef40 /networking/inetd.c | |
parent | b111917972c1398ef96ef2d388c6c4ba57a8e9f7 (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.c | 2 |
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); |