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>
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 @@
result = (cmdtp->cmd)(cmdtp, flag, argc, argv);
if (result)
- debug("Command failed, result=%d", result);
+ debug("Command failed, result=%d\n", result);
return result;
}