summaryrefslogtreecommitdiff
blob: ea2114f392b33724b27f73e34215b0619a154e6f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Origin: https://bugzilla.redhat.com/show_bug.cgi?id=1037030#c2

--- a/src/jobs.c
+++ a/src/jobs.c
@@ -427,7 +427,7 @@ sprint_status(char *s, int status, int sigonly)
 				goto out;
 #endif
 		}
-		col = fmtstr(s, 32, strsignal(st));
+		col = fmtstr(s, 32, "%s", strsignal(st));
 #ifdef WCOREDUMP
 		if (WCOREDUMP(status)) {
 			col += fmtstr(s + col, 16, " (core dumped)");