Description: Use strsignal() in favor of sys_siglist[]
 The sys_siglist, _sys_siglist and sys_sigabbrev arrays have been deprecated.
 All programs should use strsignal() instead.
 .
Author: Lukas Märdian <slyon@ubuntu.com>
Forwarded: no
Last-Update: 2021-04-23

---
--- a/proc.c
+++ b/proc.c
@@ -728,8 +728,7 @@
 			    && (reason != SIGPIPE
 				|| (pp->p_flags & PPOU) == 0))) {
 			(void) fprintf(cshout, "%*s", width,
-				       sys_siglist[(unsigned char)
-						   pp->p_reason]);
+				       strsignal(pp->p_reason));
 			hadnl = 0;
 		    }
 		    break;
