summaryrefslogtreecommitdiff
path: root/include/efi_api.h
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-01-12 12:02:33 +0100
committerAlexander Graf <agraf@suse.de>2019-02-13 09:40:06 +0100
commitc82f8f600a34d540f95a04e9cb3c49a9e6b3ae83 (patch)
tree5d7751bfcd817a40608cb5944d61fd1772657e8d /include/efi_api.h
parent0bc81a717d1ce90008f9f8ae8b3c086d4405a295 (diff)
downloadu-boot-c82f8f600a34d540f95a04e9cb3c49a9e6b3ae83.tar.gz
u-boot-c82f8f600a34d540f95a04e9cb3c49a9e6b3ae83.tar.bz2
u-boot-c82f8f600a34d540f95a04e9cb3c49a9e6b3ae83.zip
efi_loader: use u16* for file name
UTF-16 strings in our code should all be u16 *. Fix an inconsistency for file names which may lead to a warning for printf("%ls", ). Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'include/efi_api.h')
-rw-r--r--include/efi_api.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi_api.h b/include/efi_api.h
index 1d3774729d..d899af5e48 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -909,7 +909,7 @@ struct efi_file_handle {
u64 rev;
efi_status_t (EFIAPI *open)(struct efi_file_handle *file,
struct efi_file_handle **new_handle,
- s16 *file_name, u64 open_mode, u64 attributes);
+ u16 *file_name, u64 open_mode, u64 attributes);
efi_status_t (EFIAPI *close)(struct efi_file_handle *file);
efi_status_t (EFIAPI *delete)(struct efi_file_handle *file);
efi_status_t (EFIAPI *read)(struct efi_file_handle *file,