summaryrefslogtreecommitdiff
path: root/psutil/arch/freebsd/sensors.c
diff options
context:
space:
mode:
Diffstat (limited to 'psutil/arch/freebsd/sensors.c')
-rw-r--r--psutil/arch/freebsd/sensors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/arch/freebsd/sensors.c b/psutil/arch/freebsd/sensors.c
index ce7b2d92..0042adbe 100644
--- a/psutil/arch/freebsd/sensors.c
+++ b/psutil/arch/freebsd/sensors.c
@@ -64,7 +64,7 @@ psutil_sensors_cpu_temperature(PyObject *self, PyObject *args) {
goto error;
current = DECIKELVIN_2_CELCIUS(current);
- // Return -273 in case of faliure.
+ // Return -273 in case of failure.
sprintf(sensor, "dev.cpu.%d.coretemp.tjmax", core);
if (sysctlbyname(sensor, &tjmax, &size, NULL, 0))
tjmax = 0;