[v0.91][ARM][BUGFIX] Do not print error message if frequency file does not exist in ARM. Fix arm udev file (I uploaded my debug udev by mistake)

This commit is contained in:
Dr-Noob
2020-11-26 12:14:37 +01:00
parent ff032efb28
commit b4b693a11e
2 changed files with 5 additions and 2 deletions

View File

@@ -32,8 +32,12 @@ 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;
}