summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/tpm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tpm.h b/include/tpm.h
index a05c2494..4e33faaf 100644
--- a/include/tpm.h
+++ b/include/tpm.h
@@ -45,7 +45,7 @@ typedef struct _EFI_IMAGE_LOAD_EVENT {
UINTN ImageLengthInMemory;
UINTN ImageLinkTimeAddress;
UINTN LengthOfDevicePath;
- EFI_DEVICE_PATH DevicePath[1];
+ EFI_DEVICE_PATH DevicePath[0];
} EFI_IMAGE_LOAD_EVENT;
struct efi_tpm_protocol