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/ash.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/ash.c')
-rw-r--r-- | shell/ash.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/shell/ash.c b/shell/ash.c index 173beb195..35eec42a7 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -7737,16 +7737,16 @@ setinteractive(int on) | |||
7737 | #if !ENABLE_FEATURE_SH_EXTRA_QUIET | 7737 | #if !ENABLE_FEATURE_SH_EXTRA_QUIET |
7738 | if (is_interactive > 1) { | 7738 | if (is_interactive > 1) { |
7739 | /* Looks like they want an interactive shell */ | 7739 | /* Looks like they want an interactive shell */ |
7740 | static smallint do_banner; | 7740 | static smallint did_banner; |
7741 | 7741 | ||
7742 | if (!do_banner) { | 7742 | if (!did_banner) { |
7743 | out1fmt( | 7743 | out1fmt( |
7744 | "\n\n" | 7744 | "\n\n" |
7745 | "%s Built-in shell (ash)\n" | 7745 | "%s built-in shell (ash)\n" |
7746 | "Enter 'help' for a list of built-in commands." | 7746 | "Enter 'help' for a list of built-in commands." |
7747 | "\n\n", | 7747 | "\n\n", |
7748 | BB_BANNER); | 7748 | bb_banner); |
7749 | do_banner = 1; | 7749 | did_banner = 1; |
7750 | } | 7750 | } |
7751 | } | 7751 | } |
7752 | #endif | 7752 | #endif |