X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fgmond.c;h=2162463b81b0af4f9539b3e55e430604c80b2361;hp=50bd8323b24f47522ef08ed711040ef73aa55494;hb=7b8851b26928b609ce850e78c1eabb50ff319244;hpb=6d79874b8afa65cbb4a8e348caf37b8e60fbeded diff --git a/src/gmond.c b/src/gmond.c index 50bd8323..2162463b 100644 --- a/src/gmond.c +++ b/src/gmond.c @@ -472,7 +472,8 @@ static int staging_entry_update(const char *host, const char *name, /* {{{ */ } if (ds->ds_num <= ds_index) { - ERROR("gmond plugin: Invalid index %zu: %s has only %zu data source(s).", + ERROR("gmond plugin: Invalid index %" PRIsz ": %s has only %" PRIsz + " data source(s).", ds_index, ds->type, ds->ds_num); return -1; }