https://git.reactos.org/?p=reactos.git;a=commitdiff;h=57c84dd658c4d5a91e8b3…
commit 57c84dd658c4d5a91e8b3081c8ababf5ac7f3ead
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sun Jul 3 14:09:35 2022 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sun Jul 3 14:10:02 2022 +0200
[DISKPART] Fix magic values in CreateLogicalPartition() and CreatePrimaryPartition()
---
base/system/diskpart/create.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/base/system/diskpart/create.c b/base/system/diskpart/create.c
index 52526573d85..6526f19d9f3 100644
--- a/base/system/diskpart/create.c
+++ b/base/system/diskpart/create.c
@@ -204,7 +204,7 @@ CreateLogicalPartition(
ULONGLONG ullOffset = 0ULL;
BOOL bNoErr = FALSE;
#endif
- UCHAR PartitionType = 6;
+ UCHAR PartitionType = PARTITION_HUGE;
INT i, length;
PWSTR pszSuffix = NULL;
NTSTATUS Status;
@@ -404,7 +404,7 @@ CreatePrimaryPartition(
ULONGLONG ullOffset = 0ULL;
BOOL bNoErr = FALSE;
#endif
- UCHAR PartitionType = 6;
+ UCHAR PartitionType = PARTITION_HUGE;
INT i, length;
PWSTR pszSuffix = NULL;
NTSTATUS Status;