X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fmodbus.c;h=4a98e537297a842b7cc9a5b0c5e594fbf49fbee9;hb=08a2128ac248150b50f9c54c9c71f573e54df3c3;hp=04abe04ead52f815c3a1ecff05b9d4bb05208e80;hpb=6d8c3791a98eda82702ece14dbda46bc5f3de928;p=collectd.git diff --git a/src/modbus.c b/src/modbus.c index 04abe04e..4a98e537 100644 --- a/src/modbus.c +++ b/src/modbus.c @@ -440,7 +440,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 %i data sources. " + ERROR ("Modbus plugin: The type \"%s\" has %zu data sources. " "I can only handle data sets with only one data source.", data->type, ds->ds_num); return (-1);