Searched refs:origPartNum (Results 1 – 1 of 1) sorted by relevance
477 int numParts, allOK = 1, i, origPartNum; in BuildMBR() local486 origPartNum = GetInt(argument, i + 1) - 1; in BuildMBR()487 … if (IsUsedPartNum(origPartNum) && (partitions[origPartNum].IsSizedForMBR() == MBR_SIZED_GOOD)) { in BuildMBR()489 newPart.SetLocation(operator[](origPartNum).GetFirstLBA(), in BuildMBR()490 operator[](origPartNum).GetLengthLBA()); in BuildMBR()492 newPart.SetType((uint8_t)(operator[](origPartNum).GetHexType() / 0x0100)); in BuildMBR()495 …cerr << "Original partition " << origPartNum + 1 << " does not exist or is too big! Aborting opera… in BuildMBR()