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/lash.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'shell/lash.c') 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) if (opt & LASH_OPT_i) { /* Looks like they want an interactive shell */ if (!ENABLE_FEATURE_SH_EXTRA_QUIET) { - printf("\n\n%s Built-in shell (lash)\n" + printf("\n\n%s built-in shell (lash)\n" "Enter 'help' for a list of built-in commands.\n\n", - BB_BANNER); + bb_banner); } } else if (!local_pending_command && argv[optind]) { //printf( "optind=%d argv[optind]='%s'\n", optind, argv[optind]); -- cgit v1.2.3