From f9dd5c2df9909bcc409394f746777e55a76823dd Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Fri, 11 Sep 2020 14:34:39 +0200 Subject: [PATCH] filter_header(): Fix format specifiers in two log messages --- parsers.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/parsers.c b/parsers.c index c6f50eb6..23429373 100644 --- a/parsers.c +++ b/parsers.c @@ -1667,7 +1667,7 @@ static jb_err filter_header(struct client_state *csp, char **header) continue; } - log_error(LOG_LEVEL_RE_FILTER, "filtering \'%s\' (size %d) with \'%s\' ...", + log_error(LOG_LEVEL_RE_FILTER, "filtering \'%s\' (size %lu) with \'%s\' ...", *header, size, b->name); /* Apply all jobs from the joblist */ @@ -1701,7 +1701,8 @@ static jb_err filter_header(struct client_state *csp, char **header) if (b->dynamic) pcrs_free_joblist(joblist); - log_error(LOG_LEVEL_RE_FILTER, "... produced %d hits (new size %d).", current_hits, size); + log_error(LOG_LEVEL_RE_FILTER, + "... produced %d hits (new size %lu).", current_hits, size); hits += current_hits; } -- 2.39.2