From 1da2169a07b950ee3e04a597a4ee88080cb0e1a7 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 9 Jul 2022 20:24:14 +0100 Subject: [PATCH] [Minor] Eh, one more fix for the format string Noticed by: @citrin --- src/hs_helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.39.5