6 void status_temp(char *title, char *sysfile)
12 stlen = fileRead(stline, sizeof(stline), sysfile);
19 * Sometimes we get garbage from sysfs...
21 if (stlen < 6 || stlen > 7) {
22 printf(" ^fg(red)%sERROR ", title);
26 fputs(" ^fg(#FF33FF)", stdout);
28 fwrite(stline, 1, stlen - 4, stdout);
31 fwrite(&stline[stlen - 3], 1, 1, stdout);