mirror of https://github.com/acidanthera/audk.git
OvmfPkg/SmbiosPlatformDxe: tweak fallback release date
In case PcdFirmwareReleaseDateString is not set use a valid date
as fallback. Using "unknown" makes Windows unhappy.
Fixes: 4cb94f20b0
("OvmfPkg/SmbiosPlatformDxe: use PcdFirmware*")
Reported-by: ruifeng.gao@intel.com
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
This commit is contained in:
parent
2fccd1f153
commit
a0f9628705
|
@ -160,7 +160,7 @@ InstallAllStructures (
|
|||
DateStr = (CHAR16 *)FixedPcdGetPtr (PcdFirmwareReleaseDateString);
|
||||
DateLen = StrLen (DateStr);
|
||||
if (DateLen < 3) {
|
||||
DateStr = L"unknown";
|
||||
DateStr = L"2/2/2022";
|
||||
DateLen = StrLen (DateStr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue