Fix log message format for buffered reader error (#20687)
Stelios Fragkakis committed
Jul 15, 2025 at 23:30 UTC
949156289c25e3566ac621171e6fdb5f04412a5e
1 file changed
+1
-1
src/plugins.d/pluginsd_parser.c
+1
-1
@@ -1204,7 +1204,7 @@ inline size_t pluginsd_process(RRDHOST *host, struct plugind *cd, int fd_input,
1204
2 * 60 * MSEC_PER_SEC, true);
1205
1206
if(unlikely(ret != BUFFERED_READER_READ_OK)) {
1207
- nd_log(NDLS_COLLECTORS, NDLP_INFO, "PLUGINSD: buffered reader not OK (%u)", (unsigned)ret);
1207
+ nd_log(NDLS_COLLECTORS, NDLP_INFO, "PLUGINSD: buffered reader not OK (%d)", ret);
1208
if(ret == BUFFERED_READER_READ_POLLERR || ret == BUFFERED_READER_READ_POLLHUP)
1209
send_quit = false;
1210
break;