X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fgmond.c;h=cb005fd9a782634bbf14ec3939e4683c7b98cd33;hp=09f94ae77fd2dbcbd53477d26f1cd862eba511a9;hb=a9e50e9e30ecde17e167e271060c8183bfcbf407;hpb=0b7cd83a5e6bac068ea83a88a5ddcfb07c09fbec diff --git a/src/gmond.c b/src/gmond.c index 09f94ae7..cb005fd9 100644 --- a/src/gmond.c +++ b/src/gmond.c @@ -454,7 +454,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; }