diff options
author | srs5694 <srs5694@users.sourceforge.net> | 2012-01-20 22:37:12 -0500 |
---|---|---|
committer | srs5694 <srs5694@users.sourceforge.net> | 2012-01-20 22:37:12 -0500 |
commit | e69e6807cf84fe2b80c48475531ce4bd09563bba (patch) | |
tree | 5ac02c945dd51decbc23a2f308ad700d0f2b6d8d /gptpart.cc | |
parent | 0541b56fee4e92822340a2b2387508dd58d0ca7c (diff) | |
download | sgdisk-e69e6807cf84fe2b80c48475531ce4bd09563bba.tar.gz |
Fixes related to handling of GPTs created under Solaris
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 |