From ca525b4f24a1a27ffe5dfc8d04c55227ca335ba0 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Wed, 13 Jun 2007 12:27:17 +0000 Subject: *: 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 --- shell/ash.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'shell/ash.c') 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) #if !ENABLE_FEATURE_SH_EXTRA_QUIET if (is_interactive > 1) { /* Looks like they want an interactive shell */ - static smallint do_banner; + static smallint did_banner; - if (!do_banner) { + if (!did_banner) { out1fmt( "\n\n" - "%s Built-in shell (ash)\n" + "%s built-in shell (ash)\n" "Enter 'help' for a list of built-in commands." "\n\n", - BB_BANNER); - do_banner = 1; + bb_banner); + did_banner = 1; } } #endif -- cgit v1.2.3