From dbb63a6cb404e60047c4ec60d4b2bb962a491dc0 Mon Sep 17 00:00:00 2001 From: Download-Fritz Date: Wed, 1 May 2019 12:09:53 +0200 Subject: [PATCH] OcDevicePathLib: Correct NodeType check for SATA and NVMe fixes --- Library/OcDevicePathLib/OcDevicePathLib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: {