Skip to content
Snippets Groups Projects
Commit 4a8b5e79 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt Committed by Alexander Graf
Browse files

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: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: default avatarAlexander Graf <agraf@suse.de>
parent 7df5af6f
No related branches found
No related tags found
No related merge requests found
...@@ -120,11 +120,9 @@ static void *try_load_entry(uint16_t n, struct efi_device_path **device_path, ...@@ -120,11 +120,9 @@ static void *try_load_entry(uint16_t n, struct efi_device_path **device_path,
if (lo.attributes & LOAD_OPTION_ACTIVE) { if (lo.attributes & LOAD_OPTION_ACTIVE) {
efi_status_t ret; efi_status_t ret;
u16 *str = NULL;
debug("%s: trying to load \"%ls\" from: %ls\n", __func__, debug("%s: trying to load \"%ls\" from %pD\n",
lo.label, (str = efi_dp_str(lo.file_path))); __func__, lo.label, lo.file_path);
efi_free_pool(str);
ret = efi_load_image_from_path(lo.file_path, &image); ret = efi_load_image_from_path(lo.file_path, &image);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment