summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-01-09 13:09:46 +0100
committerLorenz Kästle <12514511+RincewindsHat@users.noreply.github.com>2026-01-09 13:09:46 +0100
commit544ea5bf954abd3ba6bb1b3ec277539dd53c94b9 (patch)
treec866b36c39c52fb9d74b0267a8987049c948fc5f
parentc1384375bc55c41bc79a1e1bcce57ffee263b52d (diff)
downloadmonitoring-plugins-544ea5bf954abd3ba6bb1b3ec277539dd53c94b9.tar.gz
Fix error message formatting
-rw-r--r--plugins/check_curl.c2
1 files changed, 1 insertions, 1 deletions
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
787 strcat(new_url, "?"); 787 strcat(new_url, "?");
788 strcat(new_url, query_str); 788 strcat(new_url, query_str);
789 }else{ 789 }else{
790 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 ); 790 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 );
791 } 791 }
792 } 792 }
793 793