summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MdeModulePkg/Core/RuntimeDxe/Runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/MdeModulePkg/Core/RuntimeDxe/Runtime.c b/MdeModulePkg/Core/RuntimeDxe/Runtime.c
index 98134c21b7..8fdc6fad9d 100644
--- a/MdeModulePkg/Core/RuntimeDxe/Runtime.c
+++ b/MdeModulePkg/Core/RuntimeDxe/Runtime.c
@@ -151,7 +151,7 @@ RuntimeDriverConvertPointer (
// If this is a null pointer, return if it's allowed
//
if (Address == 0) {
- if ((DebugDisposition & EFI_OPTIONAL_POINTER) != 0) {
+ if ((DebugDisposition & EFI_OPTIONAL_PTR) != 0) {
return EFI_SUCCESS;
}