On 12 May 2016 12:54, Sassan Panahinejad wrote: > +static int gpt_check_table_overlap(struct fdisk_context *cxt, > + uint64_t first_usable, > + uint64_t last_usable) > +{ > ... > + if (gpt_partition_start(&gpt->ents[i]) < first_usable) { > + fdisk_warnx(cxt, _("Partition #%u out of range (minimal start is %ju sectors)"), > + i + 1, first_usable); %j is for uintmax_t but this is uint64_t, so you'll want to use ..." PRIu64 "... > + if (gpt_partition_end(&gpt->ents[i]) > last_usable) { > + fdisk_warnx(cxt, _("Partition #%u out of range (maximal end is %ju sectors)"), > + i + 1, last_usable - 1); same here -mike
Attachment:
signature.asc
Description: Digital signature