]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Eh, one more fix for the format string
authorVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 9 Jul 2022 19:24:14 +0000 (20:24 +0100)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Sat, 9 Jul 2022 19:24:14 +0000 (20:24 +0100)
Noticed by: @citrin

src/hs_helper.c

index 4ec51aef45d481323d610c5785b9c1decb94a325..e57859696b9097f31ee7b590a347cab04374f973 100644 (file)
@@ -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 {