aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoderick W. Smith <rodsmith@rodsbooks.com>2014-02-17 12:07:02 -0500
committerRoderick W. Smith <rodsmith@rodsbooks.com>2014-02-17 12:07:02 -0500
commit22e88b5be2c0c3f92e34d95da45922abfa02a28d (patch)
treebd6bb600fc2a12e2b0a839ab9645e78c95deac29
parent5435fcf5c47caf8c77034f7a277642d1e23e90f8 (diff)
downloadgptfdisk-22e88b5be2c0c3f92e34d95da45922abfa02a28d.tar.gz
Fixed spurious error message in FixParts.
-rw-r--r--NEWS3
-rw-r--r--basicmbr.cc2
-rw-r--r--support.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index d901828..42dc4ae 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,9 @@
0.8.9 (??/??/2014):
-------------------
+- Fixed spurious "0xEE partition doesn't start on sector 1" warning in
+ FixParts (and perhaps in other programs under some circumstances).
+
- Added check for valid location of backup GPT data to GPT-destruction
options ('z' in gdisk, -z and -Z options to sgdisk). If the backup
GPT data structures aren't at the end of the disk, they aren't erased.
diff --git a/basicmbr.cc b/basicmbr.cc
index 59d575c..9e754d4 100644
--- a/basicmbr.cc
+++ b/basicmbr.cc
@@ -726,7 +726,7 @@ int BasicMBRData::FindOverlaps(void) {
if (numEE > 1)
cout << "\nCaution: More than one 0xEE MBR partition found. This can cause problems\n"
<< "in some OSes.\n";
- if (!ProtectiveOnOne)
+ if (!ProtectiveOnOne && (numEE > 0))
cout << "\nWarning: 0xEE partition doesn't start on sector 1. This can cause "
<< "problems\nin some OSes.\n";
diff --git a/support.h b/support.h
index 3dba44f..89ad8f1 100644
--- a/support.h
+++ b/support.h
@@ -8,7 +8,7 @@
#ifndef __GPTSUPPORT
#define __GPTSUPPORT
-#define GPTFDISK_VERSION "0.8.8.2"
+#define GPTFDISK_VERSION "0.8.8.4"
#if defined (__FreeBSD__) || defined (__FreeBSD_kernel__) || defined (__APPLE__)
// Darwin (Mac OS) & FreeBSD: disk IOCTLs are different, and there is no lseek64