summaryrefslogtreecommitdiff
path: root/firmware/lib/region-kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/lib/region-kernel.c')
-rw-r--r--firmware/lib/region-kernel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/lib/region-kernel.c b/firmware/lib/region-kernel.c
index e6303978..c87db427 100644
--- a/firmware/lib/region-kernel.c
+++ b/firmware/lib/region-kernel.c
@@ -45,7 +45,7 @@ VbError_t VbGbbReadBmpHeader(VbCommonParams *cparams, BmpBlockHeader *hdr_ret)
}
/* Sanity-check the bitmap block header */
- if ((0 != Memcmp(hdr->signature, BMPBLOCK_SIGNATURE,
+ if ((0 != memcmp(hdr->signature, BMPBLOCK_SIGNATURE,
BMPBLOCK_SIGNATURE_SIZE)) ||
(hdr->major_version > BMPBLOCK_MAJOR_VERSION) ||
((hdr->major_version == BMPBLOCK_MAJOR_VERSION) &&