diff --git a/tools/sanity_check/systemtest.cpp b/tools/sanity_check/systemtest.cpp index 0a8cae2d5f..c82167fa16 100644 --- a/tools/sanity_check/systemtest.cpp +++ b/tools/sanity_check/systemtest.cpp @@ -108,27 +108,27 @@ int system_uses_frequencyscaling() { char filename[256], buf[256]; while (!done) { - (void) snprintf(filename, 256, "/sys/devices/system/cpu/cpu%d/cpufreq/scaling_governor", cpu); - if (0 scaling - return 1; - } - } - } - } - } else { - // couldn't open file -> no more cores - done = 1; - } - cpu++; + (void) snprintf(filename, 256, "/sys/devices/system/cpu/cpu%d/cpufreq/scaling_governor", cpu); + if (0 scaling + return 1; + } + } + } + } + } else { + // couldn't open file -> no more cores + done = 1; + } + cpu++; } // couldn't find anything that points to scaling