X-Git-Url: https://git.enpas.org/?p=sysstatus.git;a=blobdiff_plain;f=src%2Fstatus%2Ffan.c;h=097781476c691d096d38a7b4bb248818b6e990d1;hp=6b266784934ced88169db3ae2769d2480dc95c17;hb=665fd156d476563148015a174d8c695a1350bfa4;hpb=69497249f2f423b50b3385a83da3ac9a418166c9 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';