X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Futils_lua.c;h=1f060f84e5001283f317b77e9cd318a5806ea266;hp=4e570ff3c7c703d510361cc84b1c7283b7e7b250;hb=d486225f89ea52d8ed2b4242eba2ad94c409f837;hpb=d45f9cdfc084fc5e8783073b993d58b84deb5d58 diff --git a/src/utils_lua.c b/src/utils_lua.c index 4e570ff3..1f060f84 100644 --- a/src/utils_lua.c +++ b/src/utils_lua.c @@ -57,8 +57,8 @@ static int ltoc_values(lua_State *L, /* {{{ */ } /* while (lua_next) */ if (i != ds->ds_num) { - WARNING("ltoc_values: invalid size for datasource \"%s\": expected %zu, " - "got %zu", + WARNING("ltoc_values: invalid size for datasource \"%s\": expected %" PRIsz + ", got %" PRIsz, ds->type, ds->ds_num, i); return -1; }