summaryrefslogtreecommitdiffstats
path: root/src/collectors/xenstat.plugin
diff options
context:
space:
mode:
Diffstat (limited to 'src/collectors/xenstat.plugin')
-rw-r--r--src/collectors/xenstat.plugin/xenstat_plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/collectors/xenstat.plugin/xenstat_plugin.c b/src/collectors/xenstat.plugin/xenstat_plugin.c
index b17b746f..e4b8a2bd 100644
--- a/src/collectors/xenstat.plugin/xenstat_plugin.c
+++ b/src/collectors/xenstat.plugin/xenstat_plugin.c
@@ -986,7 +986,7 @@ int main(int argc, char **argv) {
netdata_log_error("xenstat.plugin: ignoring parameter '%s'", argv[i]);
}
- errno = 0;
+ errno_clear();
if(freq >= netdata_update_every)
netdata_update_every = freq;