commit 1da2169: [Minor] Eh, one more fix for the format string
Vsevolod Stakhov
vsevolod at rspamd.com
Sat Jul 9 19:49:03 UTC 2022
Author: Vsevolod Stakhov
Date: 2022-07-09 20:24:14 +0100
URL: https://github.com/rspamd/rspamd/commit/1da2169a07b950ee3e04a597a4ee88080cb0e1a7
[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 {
More information about the Commits
mailing list