diff options
author | Denys Vlasenko | 2009-09-29 12:25:30 +0200 |
---|---|---|
committer | Denys Vlasenko | 2009-09-29 12:25:30 +0200 |
commit | c34c033c4256f88e759c5f7a59526b4397852a82 (patch) | |
tree | 2c88fbe15bc7d99bff25da48f850f751b639ede7 /shell/ash.c | |
parent | 8f7a6d294fd0940e531bb8fef197b1b74fe2a842 (diff) | |
download | busybox-c34c033c4256f88e759c5f7a59526b4397852a82.zip busybox-c34c033c4256f88e759c5f7a59526b4397852a82.tar.gz |
ash,hush: share string
function old new delta
optschanged 133 139 +6
hush_main 997 982 -15
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 6/-15) Total: -9 bytes
text data bss dec hexfilename
823160 445 7668 831273 caf29busybox_old
823102 445 7668 831215 caeefbusybox_unstripped
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/shell/ash.c b/shell/ash.c index 9529613..e5503a1 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -8539,12 +8539,13 @@ setinteractive(int on) static smallint did_banner; if (!did_banner) { - out1fmt( - "\n\n" - "%s built-in shell (ash)\n" + /* note: ash and hush share this string */ + out1fmt("\n\n%s %s\n" "Enter 'help' for a list of built-in commands." "\n\n", - bb_banner); + bb_banner, + "built-in shell (ash)" + ); did_banner = 1; } } |