X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Futils_cmd_getthreshold.c;h=8cc1d21caa9b7b0fcf7e1e8b8bb50ddbf5330a07;hp=78f9a75ab0b0c1da92f40b295ec6d751ff1c2573;hb=7b8851b26928b609ce850e78c1eabb50ff319244;hpb=4380983e0a45e2d1c1207dbea95863d1dcc844c6 diff --git a/src/utils_cmd_getthreshold.c b/src/utils_cmd_getthreshold.c index 78f9a75a..8cc1d21c 100644 --- a/src/utils_cmd_getthreshold.c +++ b/src/utils_cmd_getthreshold.c @@ -152,7 +152,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);