From 58b6ad681a1de76a73d13b21c016e9a0466bb9eb Mon Sep 17 00:00:00 2001 From: Peng Fan <Peng.Fan@freescale.com> Date: Tue, 28 Jul 2015 22:45:37 +0800 Subject: [PATCH] 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> --- common/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- GitLab