diff options
author | Mike Frysinger | 2006-06-06 06:08:34 +0000 |
---|---|---|
committer | Mike Frysinger | 2006-06-06 06:08:34 +0000 |
commit | 8e640a1043ad9fe08782387a55230ebb824b4163 (patch) | |
tree | 49790440579b595384270a263f041c2024b5cace /miscutils/time.c | |
parent | b16b5bb08f8b2b1d3e5f56c6655ba0332edcdc48 (diff) | |
download | busybox-8e640a1043ad9fe08782387a55230ebb824b4163.zip busybox-8e640a1043ad9fe08782387a55230ebb824b4163.tar.gz |
use vfork() instead of vork() since the only thing we do is execve() an app after fork (allows time to work on no-mmu)
Diffstat (limited to 'miscutils/time.c')
-rw-r--r-- | miscutils/time.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/miscutils/time.c b/miscutils/time.c index e0bdfe1..8c7419b 100644 --- a/miscutils/time.c +++ b/miscutils/time.c @@ -410,7 +410,7 @@ static void run_command(char *const *cmd, resource_t * resp) __sighandler_t interrupt_signal, quit_signal; gettimeofday(&resp->start, (struct timezone *) 0); - pid = fork(); /* Run CMD as child process. */ + pid = vfork(); /* Run CMD as child process. */ if (pid < 0) bb_error_msg_and_die("cannot fork"); else if (pid == 0) { /* If child. */ |