common: command add '\n' for debug msg
authorPeng Fan <[email protected]>
Tue, 28 Jul 2015 14:45:37 +0000 (22:45 +0800)
committerSimon Glass <[email protected]>
Wed, 5 Aug 2015 14:42:39 +0000 (08:42 -0600)
Add '\n' for debug msg.

Signed-off-by: Peng Fan <[email protected]>
Cc: Tom Rini <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Simon Glass <[email protected]>
Acked-by: Simon Glass <[email protected]>
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;
 }