aboutsummaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-04-06 16:56:33 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-04-06 16:56:33 +0200
commitfcad7681f8a835f5c7b2093da505f46865a89d25 (patch)
treec827f9570a8bfb6642b217194f481a0959804139 /util-linux
parent5ab6b0f5639d962f252fc66516b2856f6e17490b (diff)
downloadbusybox-fcad7681f8a835f5c7b2093da505f46865a89d25.tar.gz
fdisk: make comment more clear
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/fdisk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index 06fb7f9b0..8e133178d 100644
--- a/util-linux/fdisk.c
+++ b/util-linux/fdisk.c
@@ -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;