X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Futils_cmd_getthreshold.c;h=c1f3f562ca4c924b7794759fc505e72664e24e3f;hp=63e26e06e481a187de4d6c19a04874075c999344;hb=06a86a60a7dabc685bdbd81ce3d36ea5f7e2c2d4;hpb=1804ab004b8c7e14eac8c3a662747fbae4cf4aad diff --git a/src/utils_cmd_getthreshold.c b/src/utils_cmd_getthreshold.c index 63e26e06..c1f3f562 100644 --- a/src/utils_cmd_getthreshold.c +++ b/src/utils_cmd_getthreshold.c @@ -151,7 +151,7 @@ int handle_getthreshold(FILE *fh, char *buffer) { i++; /* Print the response */ - print_to_socket(fh, "%zu Threshold found\n", i); + print_to_socket(fh, "%" PRIsz " Threshold found\n", i); if (threshold.host[0] != 0) print_to_socket(fh, "Host: %s\n", threshold.host);