blob: ea2114f392b33724b27f73e34215b0619a154e6f [file] [log] [blame]
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)");