mirror of
				https://xff.cz/git/u-boot/
				synced 2025-10-31 02:15:45 +01:00 
			
		
		
		
	efi_loader: Add a wchar_t cast in efi_file_open()
The printf() string here is not actually correct. Add a cast to avoid a warning when checking is enabled. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
		| @@ -221,8 +221,8 @@ static efi_status_t EFIAPI efi_file_open(struct efi_file_handle *file, | ||||
| 	struct file_handle *fh = to_fh(file); | ||||
| 	efi_status_t ret; | ||||
|  | ||||
| 	EFI_ENTRY("%p, %p, \"%ls\", %llx, %llu", file, new_handle, file_name, | ||||
| 		  open_mode, attributes); | ||||
| 	EFI_ENTRY("%p, %p, \"%ls\", %llx, %llu", file, new_handle, | ||||
| 		  (wchar_t *)file_name, open_mode, attributes); | ||||
|  | ||||
| 	/* Check parameters */ | ||||
| 	if (!file || !new_handle || !file_name) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user