X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fgmond.c;h=cb005fd9a782634bbf14ec3939e4683c7b98cd33;hb=849f5394cce97a76da080f6cd9e5194b7f4ee0f0;hp=09f94ae77fd2dbcbd53477d26f1cd862eba511a9;hpb=0b7cd83a5e6bac068ea83a88a5ddcfb07c09fbec;p=collectd.git 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; }