Improve error message when the cpu temperature cannot be read
This commit is contained in:
parent
4ddd115af8
commit
4ef47541b9
|
@ -113,5 +113,5 @@ void print_cpu_temperature_info(yajl_gen json_gen, char *buffer, int zone, const
|
|||
return;
|
||||
error:
|
||||
#endif
|
||||
(void)fputs("Cannot read temperature\n", stderr);
|
||||
(void)fputs("i3status: Cannot read temperature. Verify that you have a thermal zone in /sys/class/thermal or disable the cpu_temperature module in your i3status config.\n", stderr);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user