efi_loader: file_path should be variable length

Signed-off-by: Rob Clark <robdclark@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
Rob Clark 2017-09-13 18:05:39 -04:00 committed by Alexander Graf
parent 9975fe96b6
commit 61b7e22479
1 changed files with 1 additions and 1 deletions

View File

@ -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 \