Skip to content

Commit 1f3f733

Browse files
committed
[DISKPART] Fix copypasta. Addendum to c197e7c
1 parent c197e7c commit 1f3f733

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

base/system/diskpart/create.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ CreateExtendedPartition(
4343
else if (CurrentDisk->PartitionStyle == PARTITION_STYLE_RAW)
4444
{
4545
/* FIXME: Initialize disk properly! */
46-
CurrentDisk->PartitionStyle == PARTITION_STYLE_MBR;
46+
CurrentDisk->PartitionStyle = PARTITION_STYLE_MBR;
4747
}
4848

4949
for (i = 3; i < argc; i++)
@@ -440,7 +440,7 @@ CreatePrimaryPartition(
440440
else if (CurrentDisk->PartitionStyle == PARTITION_STYLE_RAW)
441441
{
442442
/* FIXME: Initialize disk properly! */
443-
CurrentDisk->PartitionStyle == PARTITION_STYLE_MBR;
443+
CurrentDisk->PartitionStyle = PARTITION_STYLE_MBR;
444444
}
445445

446446
for (i = 3; i < argc; i++)

0 commit comments

Comments
 (0)