mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-16 10:05:22 +00:00
Increase max length of ACPI temp (fixes #977)
This commit is contained in:
parent
174aa63a96
commit
d0033efe93
@ -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; }
|
||||
|
Loading…
Reference in New Issue
Block a user