projects
/
sysstatus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Change named colors to hex values
[sysstatus.git]
/
src
/
status
/
uptime.c
diff --git
a/src/status/uptime.c
b/src/status/uptime.c
index ef5b2e5d90f1879005ae0d847ccb4926b1c0ba1d..d82d068c87a05c334c7b3a83a62d27479ed61333 100644
(file)
--- a/
src/status/uptime.c
+++ b/
src/status/uptime.c
@@
-23,7
+23,7
@@
void status_uptime(GlobalData *g)
stlen = fileRead(stline, sizeof(stline), "/proc/uptime");
if (stlen < 0) {
- s.color = "
red";
+ s.color = "
#FF0000"; // red
s.text = "up: ERROR";
} else {
unsigned textlen = 0;