projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5974af
)
efi_loader: superfluous conversion in efi_file_open()
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Tue, 19 Mar 2019 18:16:23 +0000
(19:16 +0100)
committer
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Wed, 20 Mar 2019 17:16:53 +0000
(18:16 +0100)
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>
lib/efi_loader/efi_file.c
patch
|
blob
|
history
diff --git
a/lib/efi_loader/efi_file.c
b/lib/efi_loader/efi_file.c
index 3a7323765bdb99318c3e326019c1b08f8bf09bad..bc715218a1b227fe1a56ac07d6f66fe674bd2986 100644
(file)
--- 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) {