aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 2c99c3ead..8cc7a5c75 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -4702,9 +4702,7 @@ sprint_status48(char *os, int status, int sigonly)
4702#endif 4702#endif
4703 } 4703 }
4704 st &= 0x7f; 4704 st &= 0x7f;
4705//TODO: use bbox's get_signame? strsignal adds ~600 bytes to text+rodata 4705 s = stpncpy(s, strsignal(st), 32);
4706 //s = stpncpy(s, strsignal(st), 32); //not all libc have stpncpy()
4707 s += fmtstr(s, 32, strsignal(st));
4708 if (WCOREDUMP(status)) { 4706 if (WCOREDUMP(status)) {
4709 s = stpcpy(s, " (core dumped)"); 4707 s = stpcpy(s, " (core dumped)");
4710 } 4708 }