diff options
-rw-r--r-- | libfdisk/src/context.c | 2 | ||||
-rw-r--r-- | libfdisk/src/label.c | 8 | ||||
-rw-r--r-- | libfdisk/src/script.c | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/libfdisk/src/context.c b/libfdisk/src/context.c index 2a4d377e0..671c0ac7d 100644 --- a/libfdisk/src/context.c +++ b/libfdisk/src/context.c @@ -908,7 +908,7 @@ fdisk_sector_t fdisk_get_last_lba(struct fdisk_context *cxt) * fdisk_reset_alignment(). * * The default is number of sectors on the device, but maybe modified by the - * current disklabel driver (for example GPT uses and of disk for backup + * current disklabel driver (for example GPT uses the end of disk for backup * header, so last_lba is smaller than total number of sectors). * * Returns: 0 on success, <0 on error. diff --git a/libfdisk/src/label.c b/libfdisk/src/label.c index e4d15b216..beff2e827 100644 --- a/libfdisk/src/label.c +++ b/libfdisk/src/label.c @@ -15,9 +15,9 @@ * fdisk_unref_context() only. * * Anyway, all label drives share in-memory first sector. The function - * fdisk_create_disklabel() overwrites the sector. But it's possible that - * label driver also uses another buffers, for example GPT uses more than only - * the first sector. + * fdisk_create_disklabel() overwrites thi in-memory sector. But it's possible that + * label driver also uses another buffers, for example GPT reads more sectors + * from the device. * * All label operations are in-memory only, except fdisk_write_disklabel(). * @@ -370,7 +370,7 @@ int fdisk_create_disklabel(struct fdisk_context *cxt, const char *name) * * Locate disklabel and returns info about @n item of the label. For example * GPT is composed from two items, PMBR and GPT, n=0 return offset to PMBR and n=1 - * return offset to GPT. For more details see 'D' expect fdisk command. + * return offset to GPT. For more details see 'D' expert fdisk command. * * Returns: 0 on succes, <0 on error, 1 no more items. */ diff --git a/libfdisk/src/script.c b/libfdisk/src/script.c index 83bda995d..c75494a2e 100644 --- a/libfdisk/src/script.c +++ b/libfdisk/src/script.c @@ -214,11 +214,11 @@ const char *fdisk_script_get_header(struct fdisk_script *dp, const char *name) * @name: header name * @data: header data (or NULL) * - * The headers are used as global options (in script) for whole partition + * The headers are used as global options for whole partition * table, always one header per line. * - * If no @data specified then the header is removed. If header does not exist - * and @data specified then a new header added. + * If no @data is specified then the header is removed. If header does not exist + * and @data is specified then a new header is added. * * Note that libfdisk allows to specify arbitrary custom header, the default * build-in headers are "unit" and "label", and some label specific headers |