mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 16:00:39 +01:00
[v0.94] Do not consider missing frequency file in x86_64 as a bug. Fix typos
This commit is contained in:
@@ -32,12 +32,7 @@ long get_freq_from_file(char* path) {
|
||||
int filelen;
|
||||
char* buf;
|
||||
if((buf = read_file(path, &filelen)) == NULL) {
|
||||
#ifdef ARCH_X86
|
||||
perror("open");
|
||||
printBug("Could not open '%s'", path);
|
||||
#elif ARCH_ARM
|
||||
printWarn("Could not open '%s'", path);
|
||||
#endif
|
||||
return UNKNOWN_FREQ;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user