X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmodbus.c;h=31f0c2da818af7d4d44a92752635becaed69f7b0;hb=4c4988b1c5d33ed70b2d6d6e5a4eae13cab9255b;hp=ad5e58e0c8acd43bb24016465c56c92e871f0124;hpb=72a71d40195511fae335e1384cb2eba606ad5caa;p=collectd.git diff --git a/src/modbus.c b/src/modbus.c index ad5e58e0..31f0c2da 100644 --- a/src/modbus.c +++ b/src/modbus.c @@ -417,7 +417,7 @@ static int mb_read_data(mb_host_t *host, mb_slave_t *slave, /* {{{ */ } if (ds->ds_num != 1) { - ERROR("Modbus plugin: The type \"%s\" has %zu data sources. " + ERROR("Modbus plugin: The type \"%s\" has %" PRIsz " data sources. " "I can only handle data sets with only one data source.", data->type, ds->ds_num); return -1;