diff options
author | Cem Keylan <cem@ckyln.com> | 2021-03-09 08:43:43 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-03-09 08:43:43 +0300 |
commit | 7ccc9c2432a847b85da5f445977d09f014cbc75b (patch) | |
tree | 8067d45ebeea60f1ddaa8167cb1398e2b6631473 /shell | |
parent | fef526c380e35cbdc0bdb8375487756c42659a75 (diff) | |
parent | 307cd26e9893ed0cf6ee88e7fca2d61d3da0e139 (diff) | |
download | busybox-master.tar.gz |
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c index 1aead6df4..6a16833b1 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -4263,9 +4263,7 @@ sprint_status48(char *os, int status, int sigonly) #endif } st &= 0x7f; -//TODO: use bbox's get_signame? strsignal adds ~600 bytes to text+rodata - //s = stpncpy(s, strsignal(st), 32); //not all libc have stpncpy() - s += fmtstr(s, 32, strsignal(st)); + s = stpncpy(s, strsignal(st), 32); if (WCOREDUMP(status)) { s = stpcpy(s, " (core dumped)"); } |