Fetch cache info from cpuid, instead of asking Linux (using /proc)

This commit is contained in:
Dr-Noob
2020-06-20 12:15:59 +02:00
parent e766f38884
commit 04a2fef2a2
6 changed files with 140 additions and 116 deletions

View File

@@ -13,4 +13,5 @@ void printError(const char *fmt, ...) {
vsnprintf(buffer,buffer_size, fmt, args);
va_end(args);
fprintf(stderr,RED "ERROR: "RESET "%s\n",buffer);
fprintf(stderr,"Please, create a new issue with this error message and your CPU in https://github.com/Dr-Noob/cpufetch/issues\n");
}