From 61b7e22479880f57140dd74879996c83577aa63d Mon Sep 17 00:00:00 2001 From: Rob Clark Date: Wed, 13 Sep 2017 18:05:39 -0400 Subject: efi_loader: file_path should be variable length Signed-off-by: Rob Clark Signed-off-by: Alexander Graf --- include/efi_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/efi_api.h') diff --git a/include/efi_api.h b/include/efi_api.h index d0aefa8..604c5b7 100644 --- a/include/efi_api.h +++ b/include/efi_api.h @@ -373,7 +373,7 @@ struct efi_device_path_cdrom_path { struct efi_device_path_file_path { struct efi_device_path dp; - u16 str[32]; + u16 str[]; } __packed; #define BLOCK_IO_GUID \ -- cgit v1.1