diff --git a/src/detection/temps/temps_bsd.c b/src/detection/temps/temps_bsd.c index 2355ac8bf..d3160775f 100644 --- a/src/detection/temps/temps_bsd.c +++ b/src/detection/temps/temps_bsd.c @@ -7,8 +7,8 @@ const char* ffDetectCpuTemp(double* current) if (temp == -999999) return "ffSysctlGetInt(\"dev.cpu.0.temperature\") failed"; - // In tenth of degrees Celsius - *current = (double) temp / 10; + // In tenth of degrees Kelvin + *current = (double) temp / 10 - 273.15; return NULL; }