aboutsummaryrefslogtreecommitdiff
path: root/common/command.c
diff options
context:
space:
mode:
authorPeng Fan2015-07-28 22:45:37 +0800
committerSimon Glass2015-08-05 08:42:39 -0600
commit58b6ad681a1de76a73d13b21c016e9a0466bb9eb (patch)
treeb8ed65afcea98b4b3d5c64a0ea9a0338a22eda7e /common/command.c
parent3bd926cc7e31a8b18fb96f639f15021d21c3fc07 (diff)
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>
Diffstat (limited to 'common/command.c')
-rw-r--r--common/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/command.c b/common/command.c
index 4719f4978ba..381e6a20b6c 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;
}