summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2018-09-14 22:46:34 +0200
committerAlexander Graf <agraf@suse.de>2018-09-23 21:55:30 +0200
commit008fb489fa51607dcde1d291aa3442809920ffb2 (patch)
tree4cccf8f14dbde64e9462b3c40ae2f71d4ec28cbf /lib
parent12ddfd49894f3e200b04aa6027be1564dd1d4c7f (diff)
downloadu-boot-008fb489fa51607dcde1d291aa3442809920ffb2.tar.gz
u-boot-008fb489fa51607dcde1d291aa3442809920ffb2.tar.bz2
u-boot-008fb489fa51607dcde1d291aa3442809920ffb2.zip
efi_loader: more debug info for efi_file_getinfo()
efi_file_getinfo() is called with a GUID. In EFI_ENTRY use %pUl as format type. This way the GUID is printed in debug mode. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/efi_loader/efi_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_file.c b/lib/efi_loader/efi_file.c
index 7edec908f5..e090cf017c 100644
--- a/lib/efi_loader/efi_file.c
+++ b/lib/efi_loader/efi_file.c
@@ -498,7 +498,7 @@ static efi_status_t EFIAPI efi_file_getinfo(struct efi_file_handle *file,
struct file_handle *fh = to_fh(file);
efi_status_t ret = EFI_SUCCESS;
- EFI_ENTRY("%p, %p, %p, %p", file, info_type, buffer_size, buffer);
+ EFI_ENTRY("%p, %pUl, %p, %p", file, info_type, buffer_size, buffer);
if (!guidcmp(info_type, &efi_file_info_guid)) {
struct efi_file_info *info = buffer;