]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 4719f4978ba637edb2ff4cc1b7ee67cb3462cfc7..381e6a20b6cdc1a458e0401ea4e857a6020ef042 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;
 }