From: Lauri Hintsala Date: Fri, 4 Jan 2013 08:51:57 +0000 (+0200) Subject: powertop: fix error message X-Git-Tag: 1_21_0~37 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fb499c57525377ca579e310d2d29c867535dd2f6;p=oweals%2Fbusybox.git 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 Signed-off-by: Mike Frysinger --- diff --git a/procps/powertop.c b/procps/powertop.c index b4c45edbc..a69ee12b0 100644 --- a/procps/powertop.c +++ b/procps/powertop.c @@ -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"); } }