diff options
author | Lauri Hintsala <lauri.hintsala@bluegiga.com> | 2013-01-04 10:51:57 +0200 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-01-04 17:45:44 -0500 |
commit | fb499c57525377ca579e310d2d29c867535dd2f6 (patch) | |
tree | e1aa063947d493ad4cda0e5cd0936252135942ad /procps | |
parent | a38f9faa9fa230eb3753381c4f626acf029379fb (diff) | |
download | busybox-w32-fb499c57525377ca579e310d2d29c867535dd2f6.tar.gz busybox-w32-fb499c57525377ca579e310d2d29c867535dd2f6.tar.bz2 busybox-w32-fb499c57525377ca579e310d2d29c867535dd2f6.zip |
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>
Diffstat (limited to 'procps')
-rw-r--r-- | procps/powertop.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
650 | } else { | 650 | } else { |
651 | bb_putchar('\n'); | 651 | bb_putchar('\n'); |
652 | bb_error_msg("no stats available; run as root or" | 652 | bb_error_msg("no stats available; run as root or" |
653 | " enable the cpufreq_stats module"); | 653 | " enable the timer_stats module"); |
654 | } | 654 | } |
655 | } | 655 | } |
656 | 656 | ||