summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2012-02-16 23:48:36 +0800
committerTerry Lv <r65388@freescale.com>2012-02-16 23:48:36 +0800
commit362b35f6dca0da338cd242353fa14f02f2f5a5fb (patch)
treea2a396b6a44ed99e83f0b69c981798e41568f663 /common
parentc1ce2e692f4c9ac475504b4976b82de241e36b45 (diff)
ENGR00174626: Fix cmd_regul build error
Fix cmd_regul build error. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'common')
-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 343d616d900..9ac483c5d43 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]);