diff options
Diffstat (limited to 'components/load_avg.c')
-rw-r--r-- | components/load_avg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/load_avg.c b/components/load_avg.c index 526dc71..ea7bc2c 100644 --- a/components/load_avg.c +++ b/components/load_avg.c @@ -10,7 +10,7 @@ load_avg(const char *fmt) double avgs[3]; if (getloadavg(avgs, 3) < 0) { - fprintf(stderr, "getloadavg: Could not obtain load average.\n"); + warn("getloadavg: Failed to obtain load average"); return NULL; } |