diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-13 12:27:17 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-06-13 12:27:17 +0000 |
commit | ca525b4f24a1a27ffe5dfc8d04c55227ca335ba0 (patch) | |
tree | 8ccf1f528aafeeb00368c41be74900db86d43d14 /shell/lash.c | |
parent | b51fd3525e48c79ef9e854dd357a9cdfdfeef72b (diff) | |
download | busybox-w32-ca525b4f24a1a27ffe5dfc8d04c55227ca335ba0.tar.gz busybox-w32-ca525b4f24a1a27ffe5dfc8d04c55227ca335ba0.tar.bz2 busybox-w32-ca525b4f24a1a27ffe5dfc8d04c55227ca335ba0.zip |
*: BB_BANNER -> bb_banner (it is not a const or #define)!
correct_password: explain in detail why it is ok to use bb_banner
fsck_minix: make it print bb version, not it's own (outdated/irrelevant) one
Marginal size difference:
text data bss dec hex filename
679119 2700 15632 697451 aa46b busybox_old
679091 2700 15632 697423 aa44f busybox_unstripped
Diffstat (limited to 'shell/lash.c')
-rw-r--r-- | shell/lash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/lash.c b/shell/lash.c index 21c95fb1b..4e8b23776 100644 --- a/shell/lash.c +++ b/shell/lash.c | |||
@@ -1548,9 +1548,9 @@ int lash_main(int argc_l, char **argv_l) | |||
1548 | if (opt & LASH_OPT_i) { | 1548 | if (opt & LASH_OPT_i) { |
1549 | /* Looks like they want an interactive shell */ | 1549 | /* Looks like they want an interactive shell */ |
1550 | if (!ENABLE_FEATURE_SH_EXTRA_QUIET) { | 1550 | if (!ENABLE_FEATURE_SH_EXTRA_QUIET) { |
1551 | printf("\n\n%s Built-in shell (lash)\n" | 1551 | printf("\n\n%s built-in shell (lash)\n" |
1552 | "Enter 'help' for a list of built-in commands.\n\n", | 1552 | "Enter 'help' for a list of built-in commands.\n\n", |
1553 | BB_BANNER); | 1553 | bb_banner); |
1554 | } | 1554 | } |
1555 | } else if (!local_pending_command && argv[optind]) { | 1555 | } else if (!local_pending_command && argv[optind]) { |
1556 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); | 1556 | //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); |