diff options
Diffstat (limited to 'lib/fpopen.c')
-rw-r--r-- | lib/fpopen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/fpopen.c b/lib/fpopen.c index 47346e1d..0df25e4e 100644 --- a/lib/fpopen.c +++ b/lib/fpopen.c @@ -46,7 +46,7 @@ FILE *fpopen(const char *cmd, const char *mode) errno = EFAULT; return NULL; } - + switch (*mode) { case 'r': do_stdin = 0; @@ -91,7 +91,7 @@ FILE *fpopen(const char *cmd, const char *mode) */ if (pipe(fds) < 0) return NULL; - + /* Fork and execute the correct program. */ if ((pid = fork()) < 0) { perror("fork"); |