mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
efi_loader: consistently use %pD to print device paths
Now that we have %pD support in vsprintf we should avoid separate logic for printing device paths in other places. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
7df5af6f3a
commit
4a8b5e7900
1 changed files with 2 additions and 4 deletions
|
@ -120,11 +120,9 @@ static void *try_load_entry(uint16_t n, struct efi_device_path **device_path,
|
|||
|
||||
if (lo.attributes & LOAD_OPTION_ACTIVE) {
|
||||
efi_status_t ret;
|
||||
u16 *str = NULL;
|
||||
|
||||
debug("%s: trying to load \"%ls\" from: %ls\n", __func__,
|
||||
lo.label, (str = efi_dp_str(lo.file_path)));
|
||||
efi_free_pool(str);
|
||||
debug("%s: trying to load \"%ls\" from %pD\n",
|
||||
__func__, lo.label, lo.file_path);
|
||||
|
||||
ret = efi_load_image_from_path(lo.file_path, &image);
|
||||
|
||||
|
|
Loading…
Reference in a new issue