diff options
author | Michael Stapelberg | 2015-07-07 23:12:13 -0700 |
---|---|---|
committer | Michael Stapelberg | 2015-07-07 23:12:13 -0700 |
commit | 55a23712ade74836be11feb9602f90d360aea44a (patch) | |
tree | 8de541c9dffaaf20f078807ca6489e6cbf211301 /src/print_cpu_temperature.c | |
parent | Merge pull request #39 from vikstrous/master (diff) | |
parent | Add ifdef to compile print_disk_info on Mac (diff) |
Merge pull request #40 from afh/pull/osx
Mac OS X compatibility changes
Diffstat (limited to 'src/print_cpu_temperature.c')
-rw-r--r-- | src/print_cpu_temperature.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/print_cpu_temperature.c b/src/print_cpu_temperature.c index c0a6baa..71ee4d4 100644 --- a/src/print_cpu_temperature.c +++ b/src/print_cpu_temperature.c @@ -261,8 +261,8 @@ void print_cpu_temperature_info(yajl_gen json_gen, char *buffer, int zone, const OUTPUT_FULL_TEXT(buffer); return; error: -#endif free(thermal_zone); +#endif OUTPUT_FULL_TEXT("can't read temp"); (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); |