From cfc1e53a271638237fb0da769ae0e5485fa99495 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 21 Apr 2010 16:22:42 +0200 Subject: [PATCH] modbus plugin: Adapt for the new "plugin_register_complex_read" interface. --- src/modbus.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 { -- 2.11.0