summaryrefslogtreecommitdiff
path: root/src/print_load.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/print_load.c')
-rw-r--r--src/print_load.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/print_load.c b/src/print_load.c
index d0d65f7..7fd54ca 100644
--- a/src/print_load.c
+++ b/src/print_load.c
@@ -45,5 +45,6 @@ void print_load(yajl_gen json_gen, char *buffer, const char *format) {
return;
error:
#endif
- (void)fputs("Cannot read load\n", stderr);
+ OUTPUT_FULL_TEXT("cant read load");
+ (void)fputs("i3status: Cannot read system load using getloadavg()\n", stderr);
}