diff options
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 4 | ||||
-rw-r--r-- | shell/lash.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/shell/hush.c b/shell/hush.c index ad5ddf0d5..8f4cc9780 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -1439,7 +1439,7 @@ static int run_pipe_real(struct pipe *pi) | |||
1439 | } | 1439 | } |
1440 | 1440 | ||
1441 | /* XXX test for failed fork()? */ | 1441 | /* XXX test for failed fork()? */ |
1442 | #if !defined(__UCLIBC__) || defined(__UCLIBC_HAS_MMU__) | 1442 | #if !defined(__UCLIBC__) || defined(__ARCH_HAS_MMU__) |
1443 | if (!(child->pid = fork())) | 1443 | if (!(child->pid = fork())) |
1444 | #else | 1444 | #else |
1445 | if (!(child->pid = vfork())) | 1445 | if (!(child->pid = vfork())) |
@@ -2258,7 +2258,7 @@ FILE *generate_stream_from_list(struct pipe *head) | |||
2258 | #if 1 | 2258 | #if 1 |
2259 | int pid, channel[2]; | 2259 | int pid, channel[2]; |
2260 | if (pipe(channel)<0) bb_perror_msg_and_die("pipe"); | 2260 | if (pipe(channel)<0) bb_perror_msg_and_die("pipe"); |
2261 | #if !defined(__UCLIBC__) || defined(__UCLIBC_HAS_MMU__) | 2261 | #if !defined(__UCLIBC__) || defined(__ARCH_HAS_MMU__) |
2262 | pid=fork(); | 2262 | pid=fork(); |
2263 | #else | 2263 | #else |
2264 | pid=vfork(); | 2264 | pid=vfork(); |
diff --git a/shell/lash.c b/shell/lash.c index b46cee807..fa416c742 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
@@ -1380,7 +1380,7 @@ static int run_command(struct job *newjob, int inbg, int outpipe[2]) | |||
1380 | } | 1380 | } |
1381 | } | 1381 | } |
1382 | 1382 | ||
1383 | #if !defined(__UCLIBC__) || defined(__UCLIBC_HAS_MMU__) | 1383 | #if !defined(__UCLIBC__) || defined(__ARCH_HAS_MMU__) |
1384 | if (!(child->pid = fork())) | 1384 | if (!(child->pid = fork())) |
1385 | #else | 1385 | #else |
1386 | if (!(child->pid = vfork())) | 1386 | if (!(child->pid = vfork())) |