diff --git a/src/common/udev.c b/src/common/udev.c index 94bf0bb..6fb21ff 100644 --- a/src/common/udev.c +++ b/src/common/udev.c @@ -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; } diff --git a/src/x86/cpuid.c b/src/x86/cpuid.c index f064681..e4503c2 100755 --- a/src/x86/cpuid.c +++ b/src/x86/cpuid.c @@ -594,7 +594,7 @@ struct cache* get_cache_info(struct cpuInfo* cpu) { uint32_t level; - // We use standart 0x00000004 for Intel + // We use standard 0x00000004 for Intel // We use extended 0x8000001D for AMD // or 0x80000005/6 for old AMD if(cpu->cpu_vendor == CPU_VENDOR_INTEL) { @@ -870,7 +870,7 @@ char* get_str_fma(struct cpuInfo* cpu) { void print_debug(struct cpuInfo* cpu) { printf("%s\n", cpu->cpu_name); - printf("- Max standart level: 0x%.8X\n", cpu->maxLevels); + printf("- Max standard level: 0x%.8X\n", cpu->maxLevels); printf("- Max extended level: 0x%.8X\n", cpu->maxExtendedLevels); free_cpuinfo_struct(cpu);