← Commit list

fcad7681f

Denys Vlasenko
Denys Vlasenko
2010-04-06
FAILED Duration: 29s

Subject

fdisk: make comment more clear

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

util-linux/fdisk.c+1 -2
@@ -2598,8 +2598,7 @@ move_begin(unsigned i)
printf("Partition %u has no data area\n", i + 1);
return;
}
- first = get_partition_start_from_dev_start(pe);
- /* == pe->offset_from_dev_start + get_start_sect(p) */
+ first = get_partition_start_from_dev_start(pe); /* == 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");
if (new != first) {
sector_t new_relative = new - pe->offset_from_dev_start;