From: Heinrich Schuchardt Date: Fri, 14 Sep 2018 20:46:34 +0000 (+0200) Subject: efi_loader: more debug info for efi_file_getinfo() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=008fb489fa51607dcde1d291aa3442809920ffb2;p=u-boot.git 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 Signed-off-by: Alexander Graf --- 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;