diff --git a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c index b999a2eafe..50e0e26030 100644 --- a/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c +++ b/PcAtChipsetPkg/PcatRealTimeClockRuntimeDxe/PcRtc.c @@ -514,6 +514,7 @@ PcRtcGetWakeupTime ( // // Get the alarm info from variable // + DataSize = sizeof (EFI_TIME); Status = EfiGetVariable ( L"RTCALARM", &gEfiCallerIdGuid,