diff options
| author | Heinrich Schuchardt <[email protected]> | 2019-01-12 12:02:33 +0100 |
|---|---|---|
| committer | Alexander Graf <[email protected]> | 2019-02-13 09:40:06 +0100 |
| commit | c82f8f600a34d540f95a04e9cb3c49a9e6b3ae83 (patch) | |
| tree | 5d7751bfcd817a40608cb5944d61fd1772657e8d /include | |
| parent | 0bc81a717d1ce90008f9f8ae8b3c086d4405a295 (diff) | |
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 <[email protected]>
Signed-off-by: Heinrich Schuchardt <[email protected]>
Signed-off-by: Alexander Graf <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/efi_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/efi_api.h b/include/efi_api.h index 1d3774729de..d899af5e487 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, |
