summaryrefslogtreecommitdiff
path: root/src/status/fan.c
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2013-10-02 15:42:39 +0200
committernorly <ny-git@enpas.org>2013-10-02 15:42:39 +0200
commit665fd156d476563148015a174d8c695a1350bfa4 (patch)
tree5210fea6823ce7f6744fc0bce5f5bac644b30800 /src/status/fan.c
parent69497249f2f423b50b3385a83da3ac9a418166c9 (diff)
Change named colors to hex values
Diffstat (limited to 'src/status/fan.c')
-rw-r--r--src/status/fan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/status/fan.c b/src/status/fan.c
index 6b26678..0977814 100644
--- a/src/status/fan.c
+++ b/src/status/fan.c
@@ -25,7 +25,7 @@ void status_fan(GlobalData *g, char *title, char *sysfile)
// Read a valid value? Sometimes we get garbage from sysfs...
if (stlen > 5) {
- s.color = "red";
+ s.color = "#FF0000"; // red
snprintf(text, sizeof(text), "%sERROR", title);
} else {
stline[stlen - 1] = '\0';