OcSmbiosLib: Fix typo when reading ROM from NVRAM

This commit is contained in:
Vitaly Cheptsov 2021-02-14 17:45:36 +03:00 committed by GitHub
parent c97baf360b
commit 4bd7a81d03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2126,7 +2126,7 @@ OcSmbiosExtractOemInfo (
&gAppleVendorVariableGuid,
NULL,
&TmpSize,
Mlb
Rom
);
if (!EFI_ERROR (Status) && TmpSize != OC_OEM_ROM_MAX) {
ZeroMem (Rom, OC_OEM_ROM_MAX);