Skip to content

Commit dff8e3c

Browse files
kaushlenshuahkh
authored andcommitted
cpupower: fix swapped power/energy unit labels
Fix error where microWatts and microJoules units were interchanged. Signed-off-by: Kaushlendra Kumar <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent 6de23f8 commit dff8e3c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/power/cpupower/utils/powercap-info.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ static int powercap_print_one_zone(struct powercap_zone *zone)
3838
printf(" (%s)\n", mode ? "enabled" : "disabled");
3939

4040
if (zone->has_power_uw)
41-
printf(_("%sPower can be monitored in micro Jules\n"),
41+
printf(_("%sPower can be monitored in micro Watts\n"),
4242
pr_prefix);
4343

4444
if (zone->has_energy_uj)
45-
printf(_("%sPower can be monitored in micro Watts\n"),
45+
printf(_("%sPower can be monitored in micro Jules\n"),
4646
pr_prefix);
4747

4848
printf("\n");

0 commit comments

Comments
 (0)