Index: src/platform/vboot_reference/vboot_firmware/linktest/main.c |
diff --git a/src/platform/vboot_reference/vboot_firmware/linktest/main.c b/src/platform/vboot_reference/vboot_firmware/linktest/main.c |
index d6496b4153c13a5d1c15c776b87b41915e10aac2..66a450177c2ea3e95fdf45db84af143522cd0c18 100644 |
--- a/src/platform/vboot_reference/vboot_firmware/linktest/main.c |
+++ b/src/platform/vboot_reference/vboot_firmware/linktest/main.c |
@@ -9,6 +9,8 @@ |
int main(void) |
{ |
+ uint16_t x, y; |
+ |
// cgptlib.h |
GptInit(0); |
GptNextKernelEntry(0, 0, 0); |
@@ -36,8 +38,8 @@ int main(void) |
// rollback_index.h |
SetupTPM(); |
- GetStoredVersion(0); |
- WriteStoredVersion(0, 0); |
+ GetStoredVersions(0, &x, &y); |
+ WriteStoredVersions(0, 0, 0); |
LockFirmwareVersions(); |
LockKernelVersionsByLockingPP(); |