6 void status_fan(char *title, char *sysfile)
12 stlen = fileRead(stline, sizeof(stline), sysfile);
17 // Read a valid value? Sometimes we get garbage from sysfs...
19 printf(" ^fg(red)%sERROR ", title);
23 fputs(" ^fg(#CCCCCC)", stdout);
25 fwrite(stline, 1, stlen - 1, stdout);
26 fputs(" rpm ", stdout);