Change to alignment code in sgdisk.
diff --git a/gptcl.cc b/gptcl.cc
index 31d05b5..af83eb5 100644
--- a/gptcl.cc
+++ b/gptcl.cc
@@ -280,6 +280,7 @@
if (partNum < 0)
partNum = FindFirstFreePart();
low = FindFirstInLargest();
+ Align(&low);
high = FindLastInFree(low);
startSector = IeeeToInt(GetString(newPartInfo, 2), sSize, low, high, low);
endSector = IeeeToInt(GetString(newPartInfo, 3), sSize, startSector, high, high);
@@ -295,6 +296,7 @@
case 'N':
JustLooking(0);
startSector = FindFirstInLargest();
+ Align(&startSector);
endSector = FindLastInFree(startSector);
if (largestPartNum < 0)
largestPartNum = FindFirstFreePart();