common: command add '\n' for debug msg
authorPeng Fan <Peng.Fan@freescale.com>
Tue, 28 Jul 2015 14:45:37 +0000 (22:45 +0800)
committerSimon Glass <sjg@chromium.org>
Wed, 5 Aug 2015 14:42:39 +0000 (08:42 -0600)
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

index 4719f49..381e6a2 100644 (file)
@@ -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;
 }