]> git.baikalelectronics.ru Git - uboot.git/commit
efi_loader: size of media device path node represenation
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 26 Nov 2017 13:05:07 +0000 (14:05 +0100)
committerAlexander Graf <agraf@suse.de>
Fri, 1 Dec 2017 12:32:41 +0000 (13:32 +0100)
commit7f8095dc3372a22f2051a9c05cc30ebbaeaa2764
treebac657f138a7b65e79298a5ff720869ca80a616b
parentf4f2757be8d0edeb769e8c46f1e88c662509b153
efi_loader: size of media device path node represenation

In the format specifier we want to specify the maximum width
in case an ending \0 is missing.

So slen must be used as precision and not as field width.

Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
lib/efi_loader/efi_device_path_to_text.c