summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeng Fan <Peng.Fan@freescale.com>2015-07-28 22:45:37 +0800
committerSimon Glass <sjg@chromium.org>2015-08-05 08:42:39 -0600
commit58b6ad681a1de76a73d13b21c016e9a0466bb9eb (patch)
treeb8ed65afcea98b4b3d5c64a0ea9a0338a22eda7e
parent3bd926cc7e31a8b18fb96f639f15021d21c3fc07 (diff)
downloadu-boot-imx-58b6ad681a1de76a73d13b21c016e9a0466bb9eb.zip
u-boot-imx-58b6ad681a1de76a73d13b21c016e9a0466bb9eb.tar.gz
u-boot-imx-58b6ad681a1de76a73d13b21c016e9a0466bb9eb.tar.bz2
common: command add '\n' for debug msg
Add '\n' for debug msg. Signed-off-by: Peng Fan <Peng.Fan@freescale.com> Cc: Tom Rini <trini@konsulko.com> Cc: Masahiro Yamada <yamada.m@jp.panasonic.com> Cc: Simon Glass <sjg@chromium.org> Acked-by: Simon Glass <sjg@chromium.org>
-rw-r--r--common/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/command.c b/common/command.c
index 4719f49..381e6a2 100644
--- a/common/command.c
+++ b/common/command.c
@@ -492,7 +492,7 @@ static int cmd_call(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
result = (cmdtp->cmd)(cmdtp, flag, argc, argv);
if (result)
- debug("Command failed, result=%d", result);
+ debug("Command failed, result=%d\n", result);
return result;
}