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:
Lauri Hintsala 2013-01-04 10:51:57 +02:00 committed by Mike Frysinger
parent a38f9faa9f
commit fb499c5752

View File

@ -650,7 +650,7 @@ static void show_timerstats(void)
} else { } else {
bb_putchar('\n'); bb_putchar('\n');
bb_error_msg("no stats available; run as root or" bb_error_msg("no stats available; run as root or"
" enable the cpufreq_stats module"); " enable the timer_stats module");
} }
} }