diff options
Diffstat (limited to 'libparted/labels/pt-tools.c')
-rw-r--r-- | libparted/labels/pt-tools.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libparted/labels/pt-tools.c b/libparted/labels/pt-tools.c index 9992529..ff3186d 100644 --- a/libparted/labels/pt-tools.c +++ b/libparted/labels/pt-tools.c @@ -127,7 +127,7 @@ ptt_partition_max_start_len (char const *pt_type, const PedPartition *part) " of %jd"), part->geom.length, pt_type, - UINT32_MAX); + pt_lim->max_length); return 0; } @@ -140,7 +140,7 @@ ptt_partition_max_start_len (char const *pt_type, const PedPartition *part) " of %jd"), part->geom.start, pt_type, - UINT32_MAX); + pt_lim->max_start_sector); return 0; } |