diff options
Diffstat (limited to 'gptpart.cc')
-rw-r--r-- | gptpart.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -90,7 +90,8 @@ string GPTPart::GetDescription(void) { // Return 1 if the partition is in use int GPTPart::IsUsed(void) { - return (firstLBA != UINT64_C(0)); + return (partitionType != GUIDData("0x00")); +// return (firstLBA != UINT64_C(0)); } // GPTPart::IsUsed() // Set the type code to the specified one. Also changes the partition |