powertop: fix error message
authorLauri Hintsala <lauri.hintsala@bluegiga.com>
Fri, 4 Jan 2013 08:51:57 +0000 (10:51 +0200)
committerMike Frysinger <vapier@gentoo.org>
Fri, 4 Jan 2013 22:45:44 +0000 (17:45 -0500)
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>
procps/powertop.c

index b4c45edbcdacc8860415bde1669e3f6be99460f4..a69ee12b0c5e3d6386c287b335aad90ee70a9bff 100644 (file)
@@ -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");
        }
 }