[PATCH] powertop: fix error message
Lauri Hintsala
lauri.hintsala at bluegiga.com
Fri Jan 4 08:51:57 UTC 2013
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>
---
procps/powertop.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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");
}
}
--
1.7.9.5
More information about the busybox
mailing list