summaryrefslogtreecommitdiff
path: root/firmware/lib/vboot_api_kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/vboot_api_kernel.c')
-rw-r--r--firmware/lib/vboot_api_kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/lib/vboot_api_kernel.c b/firmware/lib/vboot_api_kernel.c
index 727abc50..23ee6e8b 100644
--- a/firmware/lib/vboot_api_kernel.c
+++ b/firmware/lib/vboot_api_kernel.c
@@ -485,7 +485,7 @@ vb2_error_t VbVerifyMemoryBootImage(struct vb2_context *ctx,
struct vb2_gbb_header *gbb = vb2_get_gbb(ctx);
if ((boot_image == NULL) || (image_size == 0)) {
- retval = VBERROR_INVALID_PARAMETER;
+ retval = VB2_ERROR_INVALID_PARAMETER;
goto fail;
}