OcAppleDiskImageLib: Fix DP construction
@@ -197,7 +197,7 @@ InternalConstructDmgDevicePath (
SetDevicePathNodeLength (&DevPath->MemMap, sizeof (DevPath->MemMap));
DevPath->FilePath.Header.Type = MEDIA_DEVICE_PATH;
- DevPath->FilePath.Header.Type = MEDIA_FILEPATH_DP;
+ DevPath->FilePath.Header.SubType = MEDIA_FILEPATH_DP;
SetDevicePathNodeLength (&DevPath->FilePath, sizeof (DevPath->FilePath));
UnicodeSPrint (
DevPath->FilePath.PathName,
