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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user