summaryrefslogtreecommitdiff
path: root/src/print_cpu_usage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print_cpu_usage.c')
-rw-r--r--src/print_cpu_usage.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/print_cpu_usage.c b/src/print_cpu_usage.c
index 7113eae..7820840 100644
--- a/src/print_cpu_usage.c
+++ b/src/print_cpu_usage.c
@@ -92,5 +92,6 @@ void print_cpu_usage(yajl_gen json_gen, char *buffer, const char *format) {
OUTPUT_FULL_TEXT(buffer);
return;
error:
- (void)fputs("Cannot read usage\n", stderr);
+ OUTPUT_FULL_TEXT("cant read cpu usage");
+ (void)fputs("i3status: Cannot read CPU usage\n", stderr);
}