Index: utility/load_kernel_test.c |
diff --git a/utility/load_kernel_test.c b/utility/load_kernel_test.c |
index 38e4104fdc1cbe9a29661ffb16a67f8bbf9dec34..8d95ef0c26c36766a3f148347a50fca8fd7ebca0 100644 |
--- a/utility/load_kernel_test.c |
+++ b/utility/load_kernel_test.c |
@@ -26,6 +26,7 @@ |
/* Global variables for stub functions */ |
static LoadKernelParams lkp; |
+static VbNvContext vnc; |
static FILE *image_file = NULL; |
@@ -83,6 +84,8 @@ int main(int argc, char* argv[]) { |
Memset(&lkp, 0, sizeof(LoadKernelParams)); |
lkp.bytes_per_lba = LBA_BYTES; |
lkp.boot_flags = BOOT_FLAG_RECOVERY; |
+ Memset(&vnc, 0, sizeof(VbNvContext)); |
+ lkp.nv_context = &vnc; |
/* Parse options */ |
opterr = 0; |