From 362b35f6dca0da338cd242353fa14f02f2f5a5fb Mon Sep 17 00:00:00 2001 From: Terry Lv Date: Thu, 16 Feb 2012 23:48:36 +0800 Subject: ENGR00174626: Fix cmd_regul build error Fix cmd_regul build error. Signed-off-by: Terry Lv --- common/cmd_regul.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common') 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]); -- cgit v1.1