Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
fdisk_warnx(cxt,
_("The size of this disk is %s (%ju bytes). DOS "
"partition table format can not be used on drives for "
- "volumes larger than %ju bytes for %lu-byte "
+ "volumes larger than %lu bytes for %lu-byte "
"sectors. Use GUID partition table format (GPT)."),
szstr, bytes,
UINT_MAX * cxt->sector_size,
if ((rc = gpt_create_new_partition(cxt, partnum,
user_f, user_l, &typeid, ents) != 0)) {
- fdisk_warnx(cxt, _("Could not create partition %ju"), partnum + 1);
+ fdisk_warnx(cxt, _("Could not create partition %zu"), partnum + 1);
goto done;
} else {
struct fdisk_parttype *t;