diff --git a/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c b/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c index cdcdb3623ae8..97d279eeb25b 100644 --- a/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c +++ b/MdePkg/Library/UefiDevicePathLib/DevicePathToText.c @@ -497,7 +497,7 @@ DevPathToTextAcpiEx ( ); } } else { - if (AllowShortcuts) { + if (DisplayOnly) { // // display only //