Module: monitoring-plugins
Branch: master
Commit: 544ea5bf954abd3ba6bb1b3ec277539dd53c94b9
Author: Lorenz Kästle <[email protected]>
Date: Fri Jan 9 13:09:46 2026 +0100
URL:
https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=544ea5bf
Fix error message formatting
---
plugins/check_curl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugins/check_curl.c b/plugins/check_curl.c
index e7737c7c..0e84b96c 100644
--- a/plugins/check_curl.c
+++ b/plugins/check_curl.c
@@ -787,7 +787,7 @@ redir_wrapper redir(curlhelp_write_curlbuf *header_buf,
const check_curl_config
strcat(new_url, "?");
strcat(new_url, query_str);
}else{
- die(STATE_UNKNOWN, _("HTTP UNKNOWN - No space to add
query part of size %d to the buffer, buffer has remaining size %d"),
query_str_len , current_len );
+ die(STATE_UNKNOWN, _("HTTP UNKNOWN - No space to add
query part of size %zu to the buffer, buffer has remaining size %zu"),
query_str_len , current_len );
}
}