projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a38f9fa
)
powertop: fix error message
author
Lauri Hintsala
<lauri.hintsala@bluegiga.com>
Fri, 4 Jan 2013 08:51:57 +0000
(10:51 +0200)
committer
Mike 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
patch
|
blob
|
history
diff --git
a/procps/powertop.c
b/procps/powertop.c
index
b4c45ed
..
a69ee12
100644
(file)
--- 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");
}
}