diff options
Diffstat (limited to 'com32/hdt/hdt-cli-disk.c')
-rw-r--r-- | com32/hdt/hdt-cli-disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/com32/hdt/hdt-cli-disk.c b/com32/hdt/hdt-cli-disk.c index ef67abf6..ee7c10df 100644 --- a/com32/hdt/hdt-cli-disk.c +++ b/com32/hdt/hdt-cli-disk.c @@ -71,7 +71,7 @@ static void show_partition_information(struct driveinfo *drive_info, int i = nb_partitions_seen; start = partition_offset; - end = start + ptab->length; + end = start + ptab->length - 1; if (ptab->length > 0) sectors_to_size(ptab->length, size); |