summaryrefslogtreecommitdiff
path: root/gpt.cc
diff options
context:
space:
mode:
authorsrs5694 <srs5694@users.sourceforge.net>2011-01-08 18:33:24 -0500
committersrs5694 <srs5694@users.sourceforge.net>2011-01-08 18:33:24 -0500
commitdf9d363d341a0ffdd05250fd4ffb842f59815690 (patch)
tree251ad6a11f24d87de712b814582b76fc55dd7065 /gpt.cc
parent058d4a58614e07921a306857294ed017991097a9 (diff)
downloadsgdisk-df9d363d341a0ffdd05250fd4ffb842f59815690.tar.gz
Version 0.6.14 release
Diffstat (limited to 'gpt.cc')
-rw-r--r--gpt.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/gpt.cc b/gpt.cc
index 2a2df8f..bcc053a 100644
--- a/gpt.cc
+++ b/gpt.cc
@@ -344,10 +344,9 @@ int GPTData::CheckHeaderValidity(void) {
cout << UINT32_C(0x00010000) << dec << "\n";
} // if/else/if
- // If MBR bad, check for an Apple disk signature
- if ((protectiveMBR.GetValidity() == invalid) &&
- (((mainHeader.signature << 32) == APM_SIGNATURE1) ||
- (mainHeader.signature << 32) == APM_SIGNATURE2)) {
+ // Check for an Apple disk signature
+ if (((mainHeader.signature << 32) == APM_SIGNATURE1) ||
+ (mainHeader.signature << 32) == APM_SIGNATURE2) {
apmFound = 1; // Will display warning message later
} // if
cout.fill(' ');