diff options
-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 0e02070..8778dad 100644 --- a/src/print_cpu_temperature.c +++ b/src/print_cpu_temperature.c @@ -35,9 +35,9 @@ static char *thermal_zone; * */ void print_cpu_temperature_info(yajl_gen json_gen, char *buffer, int zone, const char *path, const char *format, int max_threshold) { + char *outwalk = buffer; #ifdef THERMAL_ZONE const char *walk; - char *outwalk = buffer; bool colorful_output = false; if (path == NULL) |