powertop: fix error message
Application tries to use timer_stats module instead of cpufreq_stats. Error message is printed if opening of the file /proc/timer_stats fails. Signed-off-by: Lauri Hintsala <lauri.hintsala@bluegiga.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
a38f9faa9f
commit
fb499c5752
@ -650,7 +650,7 @@ static void show_timerstats(void)
|
||||
} else {
|
||||
bb_putchar('\n');
|
||||
bb_error_msg("no stats available; run as root or"
|
||||
" enable the cpufreq_stats module");
|
||||
" enable the timer_stats module");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user