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 <xypron.glpk@gmx.de>
This commit is contained in:
Heinrich Schuchardt 2019-03-19 19:16:23 +01:00
parent d5974af7f7
commit 1646e0928c

View file

@ -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) {