@cryptotaxi247 / netdata-1 / commits / 0aa056116

Fix compilation on BSD (#15331)

fix_bsd_compilation: Fix compilation on BSD

thiagoftsm committed Jul 9, 2023 at 07:54 UTC 0aa056116309ef11d38a06441a8ea37a5dd8b575
1 file changed +1 -1
libnetdata/os.c
+1 -1
@@ -28,7 +28,7 @@ long get_system_cpus_with_cache(bool cache, bool for_netdata) {
28 bool error = false;
29
30 if (unlikely(GETSYSCTL_BY_NAME(HW_CPU_NAME, tmp_processors)))
31 - netdata_log_error = true;
31 + error = true;
32 else
33 processors[index] = tmp_processors;
34