X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Futils_cmd_getthreshold.c;h=c1f3f562ca4c924b7794759fc505e72664e24e3f;hb=a96c8f697e2e0b2376984957574e28e9d702d177;hp=63e26e06e481a187de4d6c19a04874075c999344;hpb=1804ab004b8c7e14eac8c3a662747fbae4cf4aad;p=collectd.git 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);