summaryrefslogtreecommitdiffstats
path: root/src/daemon/common.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/daemon/common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/common.c b/src/daemon/common.c
index a64d5358..6c824eec 100644
--- a/src/daemon/common.c
+++ b/src/daemon/common.c
@@ -44,7 +44,7 @@ long get_netdata_cpus(void) {
long cores_user_configured = config_get_number(CONFIG_SECTION_GLOBAL, "cpu cores", processors);
- errno = 0;
+ errno_clear();
internal_error(true,
"System CPUs: %ld, ("
"system: %ld, cgroups cpuset v1: %ld, cgroups cpuset v2: %ld, netdata.conf: %ld"