bb_applet_name -> applet_name

This commit is contained in:
Denis Vlasenko
2006-10-03 21:00:43 +00:00
parent 67b23e6043
commit 8f8f268cfd
45 changed files with 71 additions and 69 deletions

View File

@@ -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,

View File

@@ -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 */