X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2Futils_subst.c;h=546ca186f812fd4b5a672b20b0340d4e4bb4b039;hb=b9b5e5d573d0011c4f3276e9b84b73ba4dd2e870;hp=a016342540cf95332074bcb395a6564adc512316;hpb=65bdbbfb9c6b287de835e5aa81faee8cd864c1e9;p=collectd.git diff --git a/src/daemon/utils_subst.c b/src/daemon/utils_subst.c index a0163425..546ca186 100644 --- a/src/daemon/utils_subst.c +++ b/src/daemon/utils_subst.c @@ -152,7 +152,7 @@ char *subst_string(char *buf, size_t buflen, const char *string, } if (i >= buflen) { - WARNING("subst_string: Loop exited after %zu iterations: " + WARNING("subst_string: Loop exited after %" PRIsz " iterations: " "string = %s; needle = %s; replacement = %s;", i, string, needle, replacement); }