[U-Boot] [PATCH] common: command add '\n' for debug msg

Peng Fan Peng.Fan at freescale.com
Tue Jul 28 16:45:37 CEST 2015


Add '\n' for debug msg.

Signed-off-by: Peng Fan <Peng.Fan at freescale.com>
Cc: Tom Rini <trini at konsulko.com>
Cc: Masahiro Yamada <yamada.m at jp.panasonic.com>
Cc: Simon Glass <sjg at 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;
 }
 
-- 
1.8.4




More information about the U-Boot mailing list