Commit 1646e092 authored by Heinrich Schuchardt's avatar Heinrich Schuchardt 💬

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's avatarHeinrich Schuchardt <>
parent d5974af7
......@@ -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) {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment