[U-Boot] [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 --- common/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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; }

On 28 July 2015 at 08:45, Peng Fan Peng.Fan@freescale.com wrote:
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
common/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Simon Glass sjg@chromium.org

On 2 August 2015 at 15:25, Simon Glass sjg@chromium.org wrote:
On 28 July 2015 at 08:45, Peng Fan Peng.Fan@freescale.com wrote:
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
common/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Acked-by: Simon Glass sjg@chromium.org
Applied to u-boot-x86, thanks!
participants (2)
-
Peng Fan
-
Simon Glass