*: introduce and use xfork()
[oweals/busybox.git] / networking / inetd.c
index 08c09953bd39da3ff4f4f34230d2c748c81c3331..0028078db7f2636cd488c338fa672a0b86a8fe5d 100644 (file)
@@ -1303,7 +1303,7 @@ int inetd_main(int argc ATTRIBUTE_UNUSED, char **argv)
                                        pid = vfork();
 
                                if (pid < 0) { /* fork error */
-                                       bb_perror_msg("fork");
+                                       bb_perror_msg(BB_MMU ? "vfork" + 1 : "vfork");
                                        sleep(1);
                                        restore_sigmask(&omask);
                                        maybe_close(accepted_fd);