aboutsummaryrefslogtreecommitdiff
path: root/archival
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-10-03 21:00:43 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-10-03 21:00:43 +0000
commit8f8f268cfdecb4cabeb2e649a73afc7a485aeff5 (patch)
tree8c555cc94aca9fabd177526e554d93bed4886642 /archival
parent67b23e6043d8e2b30b0bf3bc105b8583c2a26db5 (diff)
downloadbusybox-8f8f268cfdecb4cabeb2e649a73afc7a485aeff5.tar.gz
bb_applet_name -> applet_name
Diffstat (limited to 'archival')
-rw-r--r--archival/bunzip2.c2
-rw-r--r--archival/gunzip.c2
-rw-r--r--archival/unlzma.c2
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) {