summaryrefslogtreecommitdiff
path: root/e2fsprogs
diff options
context:
space:
mode:
Diffstat (limited to 'e2fsprogs')
-rw-r--r--e2fsprogs/mke2fs.c2
-rw-r--r--e2fsprogs/tune2fs.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/e2fsprogs/mke2fs.c b/e2fsprogs/mke2fs.c
index 72ce574..f2cce75 100644
--- a/e2fsprogs/mke2fs.c
+++ b/e2fsprogs/mke2fs.c
@@ -841,7 +841,7 @@ static int PRS(int argc, char *argv[])
#endif
/* If called as mkfs.ext3, create a journal inode */
- if (last_char_is(bb_applet_name, '3'))
+ if (last_char_is(applet_name, '3'))
journal_size = -1;
while ((c = getopt (argc, argv,
diff --git a/e2fsprogs/tune2fs.c b/e2fsprogs/tune2fs.c
index d64c128..9bd6f4c 100644
--- a/e2fsprogs/tune2fs.c
+++ b/e2fsprogs/tune2fs.c
@@ -596,9 +596,9 @@ int tune2fs_main(int argc, char **argv)
if (ENABLE_FEATURE_CLEAN_UP)
atexit(tune2fs_clean_up);
- if (ENABLE_FINDFS && (bb_applet_name[0] == 'f')) /* findfs */
+ if (ENABLE_FINDFS && (applet_name[0] == 'f')) /* findfs */
do_findfs(argc, argv); /* no return */
- else if (ENABLE_E2LABEL && (bb_applet_name[0] == 'e')) /* e2label */
+ else if (ENABLE_E2LABEL && (applet_name[0] == 'e')) /* e2label */
parse_e2label_options(argc, argv);
else
parse_tune2fs_options(argc, argv); /* tune2fs */