summaryrefslogtreecommitdiff
path: root/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/UefiRuntimeLib/RuntimeLib.c')
-rw-r--r--MdePkg/Library/UefiRuntimeLib/RuntimeLib.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c b/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
index 2b0155e..39be3cb 100644
--- a/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
+++ b/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
@@ -87,8 +87,7 @@ RuntimeDriverLibConstruct (
{
EFI_STATUS Status;
- ASSERT (SystemTable != NULL);
- mRT = SystemTable->RuntimeServices;
+ mRT = gRT;
ASSERT (mRT != NULL);
//