summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2012-02-16 23:48:36 +0800
committerJustin Waters <justin.waters@timesys.com>2012-09-05 14:58:04 -0400
commit5ee91976298938d48ecde971f958fdecdc4b8c46 (patch)
treea2a396b6a44ed99e83f0b69c981798e41568f663 /common
parent84ae5835c0ba582abb21011c24ff0af096b9d3cb (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 343d616d90..9ac483c5d4 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]);