From: Heinrich Schuchardt Date: Tue, 19 Mar 2019 18:16:23 +0000 (+0100) Subject: efi_loader: superfluous conversion in efi_file_open() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=1646e0928c8eb052bfa2283a6ab8d9f2a92a10e9;p=u-boot.git efi_loader: superfluous conversion in efi_file_open() printf("%ls", ..) expects u16 * as argument to print. There is not need for a conversion to wchar_t *. Signed-off-by: Heinrich Schuchardt --- diff --git a/lib/efi_loader/efi_file.c b/lib/efi_loader/efi_file.c index 3a7323765b..bc715218a1 100644 --- a/lib/efi_loader/efi_file.c +++ b/lib/efi_loader/efi_file.c @@ -226,7 +226,7 @@ static efi_status_t EFIAPI efi_file_open(struct efi_file_handle *file, efi_status_t ret; EFI_ENTRY("%p, %p, \"%ls\", %llx, %llu", file, new_handle, - (wchar_t *)file_name, open_mode, attributes); + file_name, open_mode, attributes); /* Check parameters */ if (!file || !new_handle || !file_name) {