Signed-off-by: Karel Zak <kzak@redhat.com>
/**
* fdisk_gpt_disable_relocation
- * @ld: label
+ * @lb: label
* @disable: 0 or 1
*
* Disable automatic backup header relocation to the end of the device. The
/**
* fdisk_gpt_enable_minimize
- * @ld: label
- * @disable: 0 or 1
+ * @lb: label
+ * @enable: 0 or 1
*
* Force libfdisk to write backup header to behind last partition. The
* header possition is recalculated on fdisk_write_disklabel().
/**
* fdisk_set_disklabel_id_from_string
* @cxt: fdisk context
+ * @str: new Id
*
* Returns: 0 on success, otherwise, a corresponding error.
*/
#define GPT_FLAG_GUIDSPECIFIC 4
extern int fdisk_gpt_is_hybrid(struct fdisk_context *cxt);
-extern int fdisk_gpt_set_npartitions(struct fdisk_context *cxt, uint32_t entries);
+extern int fdisk_gpt_set_npartitions(struct fdisk_context *cxt, uint32_t nents);
extern int fdisk_gpt_get_partition_attrs(struct fdisk_context *cxt, size_t partnum, uint64_t *attrs);
extern int fdisk_gpt_set_partition_attrs(struct fdisk_context *cxt, size_t partnum, uint64_t attrs);