aboutsummaryrefslogtreecommitdiff
path: root/archival/bunzip2.c
diff options
context:
space:
mode:
Diffstat (limited to 'archival/bunzip2.c')
-rw-r--r--archival/bunzip2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/archival/bunzip2.c b/archival/bunzip2.c
index 740e26919..2ce6cfb86 100644
--- a/archival/bunzip2.c
+++ b/archival/bunzip2.c
@@ -6,7 +6,6 @@
6 */ 6 */
7 7
8#include <fcntl.h> 8#include <fcntl.h>
9#include <getopt.h>
10#include <stdio.h> 9#include <stdio.h>
11#include <stdlib.h> 10#include <stdlib.h>
12#include <string.h> 11#include <string.h>
@@ -35,7 +34,7 @@ int bunzip2_main(int argc, char **argv)
35 src_fd = STDIN_FILENO; 34 src_fd = STDIN_FILENO;
36 filename = 0; 35 filename = 0;
37 } 36 }
38 37
39 /* if called as bzcat force the stdout flag */ 38 /* if called as bzcat force the stdout flag */
40 if ((opt & BUNZIP2_OPT_STDOUT) || bb_applet_name[2] == 'c') 39 if ((opt & BUNZIP2_OPT_STDOUT) || bb_applet_name[2] == 'c')
41 filename = 0; 40 filename = 0;