aboutsummaryrefslogtreecommitdiff
path: root/powerdebug.c
diff options
context:
space:
mode:
Diffstat (limited to 'powerdebug.c')
-rw-r--r--powerdebug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/powerdebug.c b/powerdebug.c
index 7d91845..d310d5c 100644
--- a/powerdebug.c
+++ b/powerdebug.c
@@ -269,7 +269,8 @@ int mainloop(struct powerdebug_options *options)
show_regulator_info(regulators_info, options->verbose);
}
else
- regulator_print_info(regulators_info, options->verbose);
+ regulator_print_info(regulators_info, numregulators,
+ options->verbose);
}
if (options->clocks || options->selectedwindow == CLOCK) {