fbsd: dfly misssed

This commit is contained in:
Alastair Poole 2020-10-08 13:43:02 +01:00
parent 4d5baa6498
commit 5fa570c123
1 changed files with 1 additions and 2 deletions

View File

@ -279,7 +279,6 @@ system_cpu_usage_get(int *ncpu)
return system_cpu_usage_delayed_get(ncpu, 1000000);
}
static char _core_temps[256][512];
static char _hwmon_path[256];
@ -294,7 +293,7 @@ _cpu_n_temperature_read(int n)
temp = atoi(b) / 1000;
free(b);
}
#elif defined(__FreeBSD__)
#elif defined(__FreeBSD__) || defined(__DragonFly__)
int value;
size_t len = sizeof(value);