]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
Fix #8719 About segfault after an incorrect copy job
authorEric Bollengier <eric@baculasystems.com>
Tue, 18 Jan 2022 15:22:23 +0000 (16:22 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 24 Mar 2022 08:03:04 +0000 (09:03 +0100)
bacula/src/dird/mac.c

index b4c050693b1d987f8d4c1a7fba69f776267f8e05..4e01812990cc242b919c84c6a73ac745d057b8f0 100644 (file)
@@ -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;
    }