diff options
| author | Simon Glass <[email protected]> | 2022-01-23 12:55:12 -0700 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-02-03 12:16:01 -0500 |
| commit | 156ccbc3c4581a1e6d29c51f4af4e120e30a2ef0 (patch) | |
| tree | db7dcc9bb8ee0ec5730384d56356ba55a6cfd200 /lib/efi_loader/efi_variable_tee.c | |
| parent | 587254ebcf05fa76b6a957ffa72db053177836cf (diff) | |
efi: Use 16-bit unicode strings
At present we use wide characters for unicode but this is not necessary.
Change the code to use the 'u' literal instead. This helps to fix build
warnings for sandbox on rpi.
Signed-off-by: Simon Glass <[email protected]>
Suggested-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'lib/efi_loader/efi_variable_tee.c')
| -rw-r--r-- | lib/efi_loader/efi_variable_tee.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/efi_loader/efi_variable_tee.c b/lib/efi_loader/efi_variable_tee.c index a2c65e36947..58931c4efd7 100644 --- a/lib/efi_loader/efi_variable_tee.c +++ b/lib/efi_loader/efi_variable_tee.c @@ -588,7 +588,7 @@ efi_status_t efi_set_variable_int(const u16 *variable_name, if (alt_ret != EFI_SUCCESS) goto out; - if (!u16_strcmp(variable_name, L"PK")) + if (!u16_strcmp(variable_name, u"PK")) alt_ret = efi_init_secure_state(); out: free(comm_buf); |
