From: Vsevolod Stakhov Date: Sat, 9 Jul 2022 19:24:14 +0000 (+0100) Subject: [Minor] Eh, one more fix for the format string X-Git-Tag: 3.3~137 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=1da2169a07b950ee3e04a597a4ee88080cb0e1a7;p=rspamd.git [Minor] Eh, one more fix for the format string Noticed by: @citrin --- diff --git a/src/hs_helper.c b/src/hs_helper.c index 4ec51aef4..e57859696 100644 --- a/src/hs_helper.c +++ b/src/hs_helper.c @@ -154,8 +154,8 @@ rspamd_hs_helper_cleanup_dir (struct hs_helper_ctx *ctx, gboolean forced) !rspamd_re_cache_is_valid_hyperscan_file (ctx->cfg->re_cache, globbuf.gl_pathv[i], TRUE, TRUE, &err)) { if (unlink (globbuf.gl_pathv[i]) == -1) { - msg_err ("cannot unlink %s: %s (reason for expiration: %e)", globbuf.gl_pathv[i], - strerror(errno)); + msg_err ("cannot unlink %s: %s; reason for expiration: %e", globbuf.gl_pathv[i], + strerror(errno), err); ret = FALSE; } else {