commit | e69e6807cf84fe2b80c48475531ce4bd09563bba | [log] [tgz] |
---|---|---|
author | srs5694 <srs5694@users.sourceforge.net> | Fri Jan 20 22:37:12 2012 -0500 |
committer | srs5694 <srs5694@users.sourceforge.net> | Fri Jan 20 22:37:12 2012 -0500 |
tree | 5ac02c945dd51decbc23a2f308ad700d0f2b6d8d | |
parent | 0541b56fee4e92822340a2b2387508dd58d0ca7c [diff] [blame] |
Fixes related to handling of GPTs created under Solaris
diff --git a/gptpart.cc b/gptpart.cc index 130add0..7ac629a 100644 --- a/gptpart.cc +++ b/gptpart.cc
@@ -90,7 +90,8 @@ // 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