fdisk: make comment more clear
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
5ab6b0f563
commit
fcad7681f8
@ -2598,8 +2598,7 @@ move_begin(unsigned i)
|
|||||||
printf("Partition %u has no data area\n", i + 1);
|
printf("Partition %u has no data area\n", i + 1);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
first = get_partition_start_from_dev_start(pe);
|
first = get_partition_start_from_dev_start(pe); /* == pe->offset_from_dev_start + get_start_sect(p) */
|
||||||
/* == pe->offset_from_dev_start + get_start_sect(p) */
|
|
||||||
new = read_int(0 /*was:first*/, first, first + nr_sects - 1, first, "New beginning of data");
|
new = read_int(0 /*was:first*/, first, first + nr_sects - 1, first, "New beginning of data");
|
||||||
if (new != first) {
|
if (new != first) {
|
||||||
sector_t new_relative = new - pe->offset_from_dev_start;
|
sector_t new_relative = new - pe->offset_from_dev_start;
|
||||||
|
Loading…
Reference in New Issue
Block a user