git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tools/power turbostat: Repair Segmentation fault when using -i option
[pandora-kernel.git]
/
tools
/
power
/
x86
/
turbostat
/
turbostat.c
diff --git
a/tools/power/x86/turbostat/turbostat.c
b/tools/power/x86/turbostat/turbostat.c
index
2655ae9
..
9942dee
100644
(file)
--- a/
tools/power/x86/turbostat/turbostat.c
+++ b/
tools/power/x86/turbostat/turbostat.c
@@
-1594,7
+1594,7
@@
void cmdline(int argc, char **argv)
progname = argv[0];
- while ((opt = getopt(argc, argv, "+pPSvisc:sC:m:M:")) != -1) {
+ while ((opt = getopt(argc, argv, "+pPSvi
:
sc:sC:m:M:")) != -1) {
switch (opt) {
case 'p':
show_core_only++;