Home
last modified time | relevance | path

Searched refs:origPartNum (Results 1 – 1 of 1) sorted by relevance

/external/gptfdisk/
Dgptcl.cc481 int numParts, allOK = 1, i, origPartNum; in BuildMBR() local
490 origPartNum = GetInt(argument, i + 1) - 1; in BuildMBR()
491 … if (IsUsedPartNum(origPartNum) && (partitions[origPartNum].IsSizedForMBR() == MBR_SIZED_GOOD)) { in BuildMBR()
493 newPart.SetLocation(operator[](origPartNum).GetFirstLBA(), in BuildMBR()
494 operator[](origPartNum).GetLengthLBA()); in BuildMBR()
496 newPart.SetType((uint8_t)(operator[](origPartNum).GetHexType() / 0x0100)); in BuildMBR()
499 …cerr << "Original partition " << origPartNum + 1 << " does not exist or is too big! Aborting opera… in BuildMBR()