From: Eric Bollengier Date: Tue, 18 Jan 2022 15:22:23 +0000 (+0100) Subject: Fix #8719 About segfault after an incorrect copy job X-Git-Tag: Release-11.3.2~299 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7ddb32d86c2d7ceb69f71e91a2435bb1eb6feb2;p=thirdparty%2Fbacula.git Fix #8719 About segfault after an incorrect copy job --- diff --git a/bacula/src/dird/mac.c b/bacula/src/dird/mac.c index b4c050693..4e0181299 100644 --- a/bacula/src/dird/mac.c +++ b/bacula/src/dird/mac.c @@ -870,7 +870,7 @@ void mac_cleanup(JCR *jcr, int TermCode, int writeTermCode) terminate_sd_msg_chan_thread(wjcr); break; default: - Mmsg(term_msg, _("Inappropriate %s term code")); + Mmsg(term_msg, _("Inappropriate %c term code"), jcr->JobStatus); break; }