better cpu output

This commit is contained in:
Linus Dierheimer
2021-03-28 13:02:40 +02:00
parent efc0322ed1
commit 184eafce20
6 changed files with 177 additions and 30 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ void ffPrintOS(FFinstance* instance)
osRelease = fopen("/usr/lib/os-release", "r");
char* line = NULL;
size_t len;
size_t len = 0;
while (getline(&line, &len, osRelease) != -1)
{