diff options
author | Stelios Fragkakis <52996999+stelfrag@users.noreply.github.com> | 2023-09-19 15:13:47 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-19 15:13:47 +0300 |
commit | f07a55346a888fe4928522b6ae5381cde14667b6 (patch) | |
tree | 007e84aae33e032e5eb57303d79d8b1b7bf2d6bf /collectors/plugins.d | |
parent | faa8f0f8d8371576b3532718cd51bbe7a44e9ed2 (diff) |
Fix compilation warnings (#16006)
Diffstat (limited to 'collectors/plugins.d')
-rw-r--r-- | collectors/plugins.d/pluginsd_parser.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/collectors/plugins.d/pluginsd_parser.c b/collectors/plugins.d/pluginsd_parser.c index bff73f0b37..82c36219a0 100644 --- a/collectors/plugins.d/pluginsd_parser.c +++ b/collectors/plugins.d/pluginsd_parser.c @@ -772,7 +772,7 @@ static void inflight_functions_insert_callback(const DICTIONARY_ITEM *item, void } else { internal_error(LOG_FUNCTIONS, - "FUNCTION '%s' with transaction '%s' sent to collector (%zd bytes, in %llu usec)", + "FUNCTION '%s' with transaction '%s' sent to collector (%zd bytes, in %"PRIu64" usec)", string2str(pf->function), dictionary_acquired_item_name(item), ret, pf->sent_ut - pf->started_ut); } @@ -789,7 +789,7 @@ static void inflight_functions_insert_callback(const DICTIONARY_ITEM *item, void } else { internal_error(LOG_FUNCTIONS, - "FUNCTION_PAYLOAD '%s' with transaction '%s' sent to collector (%zd bytes, in %llu usec)", + "FUNCTION_PAYLOAD '%s' with transaction '%s' sent to collector (%zd bytes, in %"PRIu64" usec)", string2str(pf->function), dictionary_acquired_item_name(item), ret, pf->sent_ut - pf->started_ut); } @@ -812,7 +812,7 @@ static void inflight_functions_delete_callback(const DICTIONARY_ITEM *item __may struct inflight_function *pf = func; internal_error(LOG_FUNCTIONS, - "FUNCTION '%s' result of transaction '%s' received from collector (%zu bytes, request %llu usec, response %llu usec)", + "FUNCTION '%s' result of transaction '%s' received from collector (%zu bytes, request %"PRIu64" usec, response %"PRIu64" usec)", string2str(pf->function), dictionary_acquired_item_name(item), buffer_strlen(pf->result_body_wb), pf->sent_ut - pf->started_ut, now_realtime_usec() - pf->sent_ut); @@ -833,7 +833,7 @@ static void inflight_functions_garbage_collect(PARSER *parser, usec_t now) { dfe_start_write(parser->inflight.functions, pf) { if (pf->timeout_ut < now) { internal_error(true, - "FUNCTION '%s' removing expired transaction '%s', after %llu usec.", + "FUNCTION '%s' removing expired transaction '%s', after %"PRIu64" usec.", string2str(pf->function), pf_dfe.name, now - pf->started_ut); if(!buffer_strlen(pf->result_body_wb) || pf->code == HTTP_RESP_OK) |