Skip to content

Commit 9f69e8c

Browse files
committed
[DISKPART] Initialize unrecognized volumes as partitions
1 parent 1d409e3 commit 9f69e8c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎base/system/diskpart/partlist.c‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1935,6 +1935,7 @@ AddVolumeToList(
19351935
VolumeEntry->SerialNumber = 0;
19361936
VolumeEntry->SectorsPerAllocationUnit = 1;
19371937
VolumeEntry->BytesPerSector = 512;
1938+
VolumeEntry->VolumeType = VOLUME_TYPE_PARTITION;
19381939
}
19391940
}
19401941

0 commit comments

Comments
 (0)