[git commit master] fdisk: make comment more clear

Denys Vlasenko vda.linux at googlemail.com
Tue Apr 6 14:56:33 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=fcad7681f8a835f5c7b2093da505f46865a89d25
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 util-linux/fdisk.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/util-linux/fdisk.c b/util-linux/fdisk.c
index 06fb7f9..8e13317 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;
-- 
1.6.3.3



More information about the busybox-cvs mailing list