aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rspamd.com>2022-07-09 20:24:14 +0100
committerVsevolod Stakhov <vsevolod@rspamd.com>2022-07-09 20:24:14 +0100
commit1da2169a07b950ee3e04a597a4ee88080cb0e1a7 (patch)
tree371af9214d1d56bd9dd7f36056dbdb5d2c8dc46a
parent00ba1b52b7c59fb9d78b6dcd9b1dcd083625be2f (diff)
downloadrspamd-1da2169a07b950ee3e04a597a4ee88080cb0e1a7.tar.gz
rspamd-1da2169a07b950ee3e04a597a4ee88080cb0e1a7.zip
[Minor] Eh, one more fix for the format string
Noticed by: @citrin
-rw-r--r--src/hs_helper.c4
1 files 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 {