diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2023-07-09 07:54:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-09 10:54:52 +0300 |
commit | 0aa056116309ef11d38a06441a8ea37a5dd8b575 (patch) | |
tree | 23332f5adf9497d0f2a9c59a7232e47b313d2eb6 /libnetdata | |
parent | 5edbffd4ab081cc36dd8e9999f729d392aecc5c0 (diff) |
Fix compilation on BSD (#15331)
fix_bsd_compilation: Fix compilation on BSD
Diffstat (limited to 'libnetdata')
-rw-r--r-- | libnetdata/os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libnetdata/os.c b/libnetdata/os.c index d4d9e201e6..f0e2411720 100644 --- a/libnetdata/os.c +++ b/libnetdata/os.c @@ -28,7 +28,7 @@ long get_system_cpus_with_cache(bool cache, bool for_netdata) { bool error = false; if (unlikely(GETSYSCTL_BY_NAME(HW_CPU_NAME, tmp_processors))) - netdata_log_error = true; + error = true; else processors[index] = tmp_processors; |