diff options
Diffstat (limited to 'libfdisk/src')
| -rw-r--r-- | libfdisk/src/ask.c | 6 | ||||
| -rw-r--r-- | libfdisk/src/context.c | 2 | ||||
| -rw-r--r-- | libfdisk/src/label.c | 2 | ||||
| -rw-r--r-- | libfdisk/src/partition.c | 2 | ||||
| -rw-r--r-- | libfdisk/src/script.c | 6 |
5 files changed, 9 insertions, 9 deletions
diff --git a/libfdisk/src/ask.c b/libfdisk/src/ask.c index 9fabc99c8d..31f95fb066 100644 --- a/libfdisk/src/ask.c +++ b/libfdisk/src/ask.c @@ -323,7 +323,7 @@ int fdisk_ask_number_is_relative(struct fdisk_ask *ask) * fdisk_ask_number_is_wrap_negative: * @ask: ask instance * - * The wrap-negative flag allows to accept negative number from user. In this + * The wrap-negative flag can be used to accept negative number from user. In this * case the dialog result is calculated as "high - num" (-N from high limit). * * Returns: 1 or 0. @@ -342,8 +342,8 @@ int fdisk_ask_number_is_wrap_negative(struct fdisk_ask *ask) * @ask: ask instance * @relative: 0 or 1 * - * Inform libfdisk that user specified number in relative notation rather than - * by explicit number. This info allows to fdisk do some optimization (e.g. + * Inform libfdisk that user can specify the number in relative notation rather than + * by explicit number. This is useful for some optimization (e.g. * align end of partition, etc.) * * Returns: 0 on success, <0 on error diff --git a/libfdisk/src/context.c b/libfdisk/src/context.c index 8eb12271cd..78ca951ac2 100644 --- a/libfdisk/src/context.c +++ b/libfdisk/src/context.c @@ -335,7 +335,7 @@ int fdisk_has_protected_bootbits(struct fdisk_context *cxt) * @enable: 1 or 0 * * The library zeroizes all the first sector when create a new disk label by - * default. This function allows to control this behavior. For now it's + * default. This function can be used to control this behavior. For now it's * supported for MBR and GPT. * * Returns: 0 on success, < 0 on error. diff --git a/libfdisk/src/label.c b/libfdisk/src/label.c index 186df4880d..5c945a9cce 100644 --- a/libfdisk/src/label.c +++ b/libfdisk/src/label.c @@ -8,7 +8,7 @@ * @short_description: disk label (PT) specific data and functions * * The fdisk_new_context() initializes all label drivers, and allocate - * per-label specific data struct. This concept allows to store label specific + * per-label specific data struct. This concept can be used to store label specific * settings to the label driver independently on the currently active label * driver. Note that label struct cannot be deallocated, so there is no * reference counting for fdisk_label objects. All is destroyed by diff --git a/libfdisk/src/partition.c b/libfdisk/src/partition.c index ae07882e6a..46fddc5242 100644 --- a/libfdisk/src/partition.c +++ b/libfdisk/src/partition.c @@ -1175,7 +1175,7 @@ static int recount_resize( rc = fdisk_get_partitions(cxt, &tb); if (!rc) { /* For resize we do not follow grain to detect free-space, but - * we allow to resize with very small granulation. */ + * we support to resize with very small granulation. */ unsigned long org = cxt->grain; cxt->grain = cxt->sector_size; diff --git a/libfdisk/src/script.c b/libfdisk/src/script.c index 8af2e54cd2..ede6ab84b0 100644 --- a/libfdisk/src/script.c +++ b/libfdisk/src/script.c @@ -9,7 +9,7 @@ * @title: Script * @short_description: complex way to create and dump partition table * - * This interface allows to compose in-memory partition table with all details, + * This interface can be used to compose in-memory partition table with all details, * write all partition table description to human readable text file, read it * from the file, and apply the script to on-disk label. * @@ -268,7 +268,7 @@ const char *fdisk_script_get_header(struct fdisk_script *dp, const char *name) * 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 + * Note that libfdisk can be used to specify arbitrary custom header, the default * built-in headers are "unit" and "label", and some label specific headers * (for example "uuid" and "name" for GPT). * @@ -362,7 +362,7 @@ struct fdisk_table *fdisk_script_get_table(struct fdisk_script *dp) * @tb: table * * Replaces table used by script and creates a new reference to @tb. This - * function allows to generate a new script table independently on the current + * function can be used to generate a new script table independently on the current * context and without any file reading. * * This is useful for example to create partition table with the same basic |
