6 void status_temp(char *title, char *sysfile)
12 stlen = fileRead(stline, sizeof(stline), sysfile);
16 // Read a valid value? Sometimes we get garbage from sysfs...
17 if (stlen < 6 || stlen > 7)
19 printf(" ^fg(red)%sERROR ", title);
23 fputs(" ^fg(#FF33FF)", stdout);
25 fwrite(stline, 1, stlen - 4, stdout);
28 fwrite(&stline[stlen - 3], 1, 1, stdout);