diff options
author | Ruediger Meier | 2018-02-15 22:02:18 +0100 |
---|---|---|
committer | Ruediger Meier | 2018-02-16 11:12:52 +0100 |
commit | 73afd3f8e8793844e8e53f69d819ca740cdfc889 (patch) | |
tree | 7f6748bf84ba5940af9a115bba26c3298c951833 /libfdisk/src | |
parent | lsns: fix clang compiler warning (diff) | |
download | kernel-qcow2-util-linux-73afd3f8e8793844e8e53f69d819ca740cdfc889.tar.gz kernel-qcow2-util-linux-73afd3f8e8793844e8e53f69d819ca740cdfc889.tar.xz kernel-qcow2-util-linux-73afd3f8e8793844e8e53f69d819ca740cdfc889.zip |
misc: fix typos using codespell
Some more funny typos, please review carefully.
Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
Diffstat (limited to 'libfdisk/src')
-rw-r--r-- | libfdisk/src/context.c | 2 | ||||
-rw-r--r-- | libfdisk/src/item.c | 2 | ||||
-rw-r--r-- | libfdisk/src/libfdisk.h.in | 2 | ||||
-rw-r--r-- | libfdisk/src/partition.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/libfdisk/src/context.c b/libfdisk/src/context.c index ee9c40ea6..4b7899ff8 100644 --- a/libfdisk/src/context.c +++ b/libfdisk/src/context.c @@ -800,7 +800,7 @@ static inline int add_to_partitions_array( * advantage is that unmodified partitions maybe mounted. * * The function behavies like fdisk_reread_partition_table() on systems where - * are no avaialble BLKPG_* ioctls. + * are no available BLKPG_* ioctls. * * Returns: <0 on error, or 0. */ diff --git a/libfdisk/src/item.c b/libfdisk/src/item.c index 6c98228f4..86fa0fb1f 100644 --- a/libfdisk/src/item.c +++ b/libfdisk/src/item.c @@ -224,7 +224,7 @@ static int test_listitems(struct fdisk_test *ts, int argc, char *argv[]) printf("%s: %"PRIu64"\n", name, num); break; } - case 1: /* item unsuported by label -- ignore */ + case 1: /* item unsupported by label -- ignore */ rc = 0; break; case 2: /* end (out of range) */ diff --git a/libfdisk/src/libfdisk.h.in b/libfdisk/src/libfdisk.h.in index ddf4a91e6..bffa9dd51 100644 --- a/libfdisk/src/libfdisk.h.in +++ b/libfdisk/src/libfdisk.h.in @@ -106,7 +106,7 @@ struct fdisk_script; /** * fdisk_sector_t * - * LBA adresses type + * LBA addresses type */ typedef uint64_t fdisk_sector_t; diff --git a/libfdisk/src/partition.c b/libfdisk/src/partition.c index cccd9a1b3..085d0cfab 100644 --- a/libfdisk/src/partition.c +++ b/libfdisk/src/partition.c @@ -709,7 +709,7 @@ int fdisk_partition_is_wholedisk(struct fdisk_partition *pa) * * If @pa is NULL, or @pa does not specify any semantic for the next partno * then use Ask API to ask user for the next partno. In this case returns 1 if - * no free partition avaialble. If fdisk dialogs are disabled then returns -EINVAL. + * no free partition available. If fdisk dialogs are disabled then returns -EINVAL. * * Returns: 0 on success, <0 on error, or 1 for non-free partno by Ask API. */ |