diff options
Diffstat (limited to 'libbb/gz_open.c')
-rw-r--r-- | libbb/gz_open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/gz_open.c b/libbb/gz_open.c index b23920b16..ef30ff894 100644 --- a/libbb/gz_open.c +++ b/libbb/gz_open.c | |||
@@ -15,7 +15,7 @@ extern FILE *gz_open(FILE *compressed_file, int *pid) | |||
15 | return(NULL); | 15 | return(NULL); |
16 | } | 16 | } |
17 | if ((*pid = fork()) == -1) { | 17 | if ((*pid = fork()) == -1) { |
18 | error_msg("fork failured"); | 18 | error_msg("fork failed"); |
19 | return(NULL); | 19 | return(NULL); |
20 | } | 20 | } |
21 | if (*pid==0) { | 21 | if (*pid==0) { |
@@ -29,7 +29,7 @@ extern FILE *gz_open(FILE *compressed_file, int *pid) | |||
29 | } | 29 | } |
30 | close(unzip_pipe[1]); | 30 | close(unzip_pipe[1]); |
31 | if (unzip_pipe[0] == -1) { | 31 | if (unzip_pipe[0] == -1) { |
32 | error_msg("Couldnt initialise gzip stream"); | 32 | error_msg("gzip stream init failed"); |
33 | } | 33 | } |
34 | return(fdopen(unzip_pipe[0], "r")); | 34 | return(fdopen(unzip_pipe[0], "r")); |
35 | } | 35 | } |