X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fgmond.c;h=cb005fd9a782634bbf14ec3939e4683c7b98cd33;hb=4c4988b1c5d33ed70b2d6d6e5a4eae13cab9255b;hp=09f94ae77fd2dbcbd53477d26f1cd862eba511a9;hpb=072244d2e10336241610a1a0448a8149e9c77e7e;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; }