1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-10-03 07:29:10 +00:00

Increase max length of ACPI temp (fixes #977)

This commit is contained in:
Brenden Matthews 2024-03-21 07:30:10 -04:00
parent 174aa63a96
commit d0033efe93

View File

@ -1844,7 +1844,7 @@ static double last_acpi_temp_time;
// the maximum length of the string inside a ACPI_THERMAL_FORMAT file including
// the ending 0
#define MAXTHERMZONELEN 6
#define MAXTHERMZONELEN 7
double get_acpi_temperature(int fd) {
if (fd <= 0) { return 0; }