diff options
Diffstat (limited to 'src/vendorcode/google/chromeos/verstub.c')
-rw-r--r-- | src/vendorcode/google/chromeos/verstub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vendorcode/google/chromeos/verstub.c b/src/vendorcode/google/chromeos/verstub.c index a4ed77f96b..e295b25f07 100644 --- a/src/vendorcode/google/chromeos/verstub.c +++ b/src/vendorcode/google/chromeos/verstub.c @@ -61,7 +61,7 @@ void vboot2_verify_firmware(void) /* load verstage from RO */ entry = cbfs_load_stage(CBFS_DEFAULT_MEDIA, CONFIG_CBFS_PREFIX "/verstage"); - if (entry == -1) + if (entry == (void *)-1) die("failed to load verstage"); /* verify and select a slot */ |