diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/bunzip2.c | 2 | ||||
-rw-r--r-- | archival/gunzip.c | 2 | ||||
-rw-r--r-- | archival/unlzma.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/archival/bunzip2.c b/archival/bunzip2.c index faf997bbe..85f2343df 100644 --- a/archival/bunzip2.c +++ b/archival/bunzip2.c @@ -32,7 +32,7 @@ int bunzip2_main(int argc, char **argv) } /* if called as bzcat force the stdout flag */ - if ((opt & BUNZIP2_OPT_STDOUT) || bb_applet_name[2] == 'c') + if ((opt & BUNZIP2_OPT_STDOUT) || applet_name[2] == 'c') filename = 0; /* Check that the input is sane. */ diff --git a/archival/gunzip.c b/archival/gunzip.c index 1cde08b4d..396ce4f5c 100644 --- a/archival/gunzip.c +++ b/archival/gunzip.c @@ -44,7 +44,7 @@ int gunzip_main(int argc, char **argv) opt = getopt32(argc, argv, "cftdv"); /* if called as zcat */ - if (strcmp(bb_applet_name, "zcat") == 0) { + if (strcmp(applet_name, "zcat") == 0) { opt |= GUNZIP_OPT_STDOUT; } diff --git a/archival/unlzma.c b/archival/unlzma.c index 20891e316..46fbefdc0 100644 --- a/archival/unlzma.c +++ b/archival/unlzma.c @@ -35,7 +35,7 @@ int unlzma_main(int argc, char **argv) } /* if called as lzmacat force the stdout flag */ - if ((opt & UNLZMA_OPT_STDOUT) || bb_applet_name[4] == 'c') + if ((opt & UNLZMA_OPT_STDOUT) || applet_name[4] == 'c') filename = 0; if (filename) { |