From: Florian Forster Date: Wed, 21 Apr 2010 14:22:42 +0000 (+0200) Subject: modbus plugin: Adapt for the new "plugin_register_complex_read" interface. X-Git-Tag: collectd-4.10.0~18 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cfc1e53a271638237fb0da769ae0e5485fa99495;p=collectd.git modbus plugin: Adapt for the new "plugin_register_complex_read" interface. --- diff --git a/src/modbus.c b/src/modbus.c index 5dc958f6..adab0d0f 100644 --- a/src/modbus.c +++ b/src/modbus.c @@ -810,9 +810,8 @@ static int mb_config_add_host (oconfig_item_t *ci) /* {{{ */ else interval.tv_sec = 0; - plugin_register_complex_read (name, mb_read, - (interval.tv_sec > 0) ? &interval : NULL, - &ud); + plugin_register_complex_read (/* group = */ NULL, name, + mb_read, (interval.tv_sec > 0) ? &interval : NULL, &ud); } else {