[git commit] powertop: fix error message
Mike Frysinger
vapier at gentoo.org
Fri Jan 4 22:45:44 UTC 2013
commit: http://git.busybox.net/busybox/commit/?id=fb499c57525377ca579e310d2d29c867535dd2f6
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
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 at bluegiga.com>
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
procps/powertop.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/procps/powertop.c b/procps/powertop.c
index b4c45ed..a69ee12 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");
}
}
More information about the busybox-cvs
mailing list