summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/cmd_regul.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cmd_regul.c b/common/cmd_regul.c
index 343d616..9ac483c 100644
--- a/common/cmd_regul.c
+++ b/common/cmd_regul.c
@@ -50,10 +50,10 @@ int do_regulops(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
else
uv = regul_get(argv[2]);
- if (uv >= 0)
+ if (uv >= 0) {
printf("Name\t\tVoltage\n");
printf("%s:\t\t%d\n", argv[2], uv);
- else
+ } else
printf("Can't get regulator's voltage!\n");
} else
printf("Unsupported command: %s!\n", argv[1]);