Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 297559
b: refs/heads/master
c: 0b37ee6
h: refs/heads/master
i:
  297557: 35514a3
  297555: ec54642
  297551: 2e8009d
v: v3
  • Loading branch information
Thomas Renninger authored and Dominik Brodowski committed Mar 3, 2012
1 parent 399f489 commit c3bd691
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e03bd1aa00cff10d8a833442456a07b17dae32b8
refs/heads/master: 0b37ee65e5d5e626b50852718ed72979160f7be0
5 changes: 2 additions & 3 deletions trunk/tools/power/cpupower/utils/cpuidle-info.c
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ static void cpuidle_cpu_output(unsigned int cpu, int verbose)
}

printf(_("Number of idle states: %d\n"), idlestates);

printf(_("Available idle states:"));
for (idlestate = 1; idlestate < idlestates; idlestate++) {
for (idlestate = 0; idlestate < idlestates; idlestate++) {
tmp = sysfs_get_idlestate_name(cpu, idlestate);
if (!tmp)
continue;
Expand All @@ -57,7 +56,7 @@ static void cpuidle_cpu_output(unsigned int cpu, int verbose)
if (!verbose)
return;

for (idlestate = 1; idlestate < idlestates; idlestate++) {
for (idlestate = 0; idlestate < idlestates; idlestate++) {
tmp = sysfs_get_idlestate_name(cpu, idlestate);
if (!tmp)
continue;
Expand Down

0 comments on commit c3bd691

Please sign in to comment.