hdt: Do not modify offsets in the part_entry itself
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Tue, 21 Apr 2009 19:04:03 +0000 (12:04 -0700)
committerPierre-Alexandre Meyer <pierre@mouraf.org>
Tue, 21 Apr 2009 19:04:03 +0000 (12:04 -0700)
commitbb646b9842e85f1bbf51bb1bac1c72e3e763aa03
treee4b7b913c97a3b8f9555d476a0a74b016f042e39
parent5681e04fe55a0907d2136223fecc7e85e6b1b876
hdt: Do not modify offsets in the part_entry itself

Impact: fix bug

When printing extended partitions information, we need to adjust
the start lba. Do not modify it in the part_entry struct but just
print the adjusted one.

Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
com32/hdt/hdt-cli-disk.c