summaryrefslogtreecommitdiffstats
path: root/collectors/macos.plugin/plugin_macos.c
diff options
context:
space:
mode:
Diffstat (limited to 'collectors/macos.plugin/plugin_macos.c')
-rw-r--r--collectors/macos.plugin/plugin_macos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/collectors/macos.plugin/plugin_macos.c b/collectors/macos.plugin/plugin_macos.c
index 3aaa46c729..0b60b060a1 100644
--- a/collectors/macos.plugin/plugin_macos.c
+++ b/collectors/macos.plugin/plugin_macos.c
@@ -53,7 +53,7 @@ void *macos_main(void *ptr)
worker_register_job_name(i, macos_modules[i].dim);
}
- usec_t step = localhost->rrd_update_every * USEC_PER_SEC;
+ usec_t step = rrdb.localhost->update_every * USEC_PER_SEC;
heartbeat_t hb;
heartbeat_init(&hb);
@@ -69,7 +69,7 @@ void *macos_main(void *ptr)
netdata_log_debug(D_PROCNETDEV_LOOP, "macos calling %s.", pm->name);
worker_is_busy(i);
- pm->enabled = !pm->func(localhost->rrd_update_every, hb_dt);
+ pm->enabled = !pm->func(rrdb.localhost->update_every, hb_dt);
if (unlikely(netdata_exit))
break;