aboutsummaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-02-14 17:17:10 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-02-14 17:17:10 +0100
commit7c6f2468ccc849c9f8401ee97a3d894d8f483773 (patch)
tree39c358e7bc5758c691516146e4795353e126e1e8 /shell/ash.c
parentb9348440b0491b479457b304754bca4840286f74 (diff)
downloadbusybox-7c6f2468ccc849c9f8401ee97a3d894d8f483773.tar.gz
hush: do not print killer signal's name for SIGPIPE
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index aaf21cd6f..cccd6dd79 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -3892,6 +3892,7 @@ sprint_status(char *s, int status, int sigonly)
#endif
}
st &= 0x7f;
+//TODO: use bbox's get_signame? strsignal adds ~600 bytes to text+rodata
col = fmtstr(s, 32, strsignal(st));
if (WCOREDUMP(status)) {
col += fmtstr(s + col, 16, " (core dumped)");