diff --git a/Library/OcDevicePathLib/OcDevicePathLib.c b/Library/OcDevicePathLib/OcDevicePathLib.c index 4a3f9996..ee6fa23c 100755 --- a/Library/OcDevicePathLib/OcDevicePathLib.c +++ b/Library/OcDevicePathLib/OcDevicePathLib.c @@ -284,7 +284,7 @@ OcFixAppleBootDevicePath ( NodeType = DevicePathType (InvalidNode.DevPath); NodeSubType = DevicePathSubType (InvalidNode.DevPath); - if (NodeType == MEDIA_DEVICE_PATH) { + if (NodeType == MESSAGING_DEVICE_PATH) { switch (NodeSubType) { case MSG_SATA_DP: {