cmd: efidebug: Add missing \n at the end of message
authorMichal Simek <michal.simek@amd.com>
Tue, 9 Aug 2022 14:31:12 +0000 (16:31 +0200)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 13 Aug 2022 09:09:49 +0000 (11:09 +0200)
Currently message is not intended that prompt end up at the end of debug
line. For example like this:

DFU alt info setting: done
DFU entities configuration failed!
(partition table does not match dfu_alt_info?)
Firmware update failed: <NULL>
Cannot handle a capsule at 10000000Zynq>

Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
cmd/efidebug.c

index df928ce..84e6ff5 100644 (file)
@@ -77,7 +77,7 @@ static int do_efi_capsule_update(struct cmd_tbl *cmdtp, int flag,
 
        ret = EFI_CALL(RT->update_capsule(&capsule, 1, 0));
        if (ret) {
-               printf("Cannot handle a capsule at %p", capsule);
+               printf("Cannot handle a capsule at %p\n", capsule);
                return CMD_RET_FAILURE;
        }