diff options
author | Bernhard Voelker | 2012-04-20 00:10:44 +0200 |
---|---|---|
committer | Karel Zak | 2012-04-23 13:16:35 +0200 |
commit | 455fe9a075cc59e3250af9c413d42e7ac47a86a9 (patch) | |
tree | b5aae6ccef42cb7c5c459d6c6951957528d06c88 /libblkid | |
parent | fdisk: simplify device opening (diff) | |
download | kernel-qcow2-util-linux-455fe9a075cc59e3250af9c413d42e7ac47a86a9.tar.gz kernel-qcow2-util-linux-455fe9a075cc59e3250af9c413d42e7ac47a86a9.tar.xz kernel-qcow2-util-linux-455fe9a075cc59e3250af9c413d42e7ac47a86a9.zip |
Fix typos found by misspellings
The tool misspellings (https://github.com/lyda/misspell-check)
detected several typos. Command used:
$ git ls-files | grep -v ^po/ | misspellings -f -
* isosize: Fix typo in usage string.
* configure.ac: Fix typo in help string of --enable-most-builds option.
* fdisk: Fix typo in man page.
* libblkid, blkid, mount: Likewise.
* Fix various typos in docs and in source code comments.
Signed-off-by: Bernhard Voelker <mail@bernhard-voelker.de>
Diffstat (limited to 'libblkid')
-rw-r--r-- | libblkid/libblkid.3 | 2 | ||||
-rw-r--r-- | libblkid/src/encode.c | 2 | ||||
-rw-r--r-- | libblkid/src/partitions/gpt.c | 4 | ||||
-rw-r--r-- | libblkid/src/partitions/partitions.c | 2 | ||||
-rw-r--r-- | libblkid/src/superblocks/linux_raid.c | 4 | ||||
-rw-r--r-- | libblkid/src/superblocks/superblocks.c | 4 |
6 files changed, 9 insertions, 9 deletions
diff --git a/libblkid/libblkid.3 b/libblkid/libblkid.3 index 7f1c04522..e6c20b1cd 100644 --- a/libblkid/libblkid.3 +++ b/libblkid/libblkid.3 @@ -23,7 +23,7 @@ filesystem labels/volume names, unique identifiers/serial numbers. A common use is to allow use of LABEL= and UUID= tags instead of hard-coding specific block device names into configuration files. .P -The low-level part of the library also allows to extract infomation about +The low-level part of the library also allows to extract information about partitions and block device topology. .P The high-level part of the library keeps information about block devices in a diff --git a/libblkid/src/encode.c b/libblkid/src/encode.c index 03d5f4ef1..9a0570e8f 100644 --- a/libblkid/src/encode.c +++ b/libblkid/src/encode.c @@ -1,6 +1,6 @@ /* - * encode.c - string convertion routines (mostly for compatibility with + * encode.c - string conversion routines (mostly for compatibility with * udev/volume_id) * * Copyright (C) 2008 Kay Sievers <kay.sievers@vrfy.org> diff --git a/libblkid/src/partitions/gpt.c b/libblkid/src/partitions/gpt.c index 1a50494d5..ccade6b54 100644 --- a/libblkid/src/partitions/gpt.c +++ b/libblkid/src/partitions/gpt.c @@ -48,7 +48,7 @@ typedef struct { struct gpt_header { uint64_t signature; /* "EFI PART" */ uint32_t revision; - uint32_t header_size; /* usualy 92 bytes */ + uint32_t header_size; /* usually 92 bytes */ uint32_t header_crc32; /* checksum of header with this * field zeroed during calculation */ uint32_t reserved1; @@ -120,7 +120,7 @@ static inline int guidcmp(efi_guid_t left, efi_guid_t right) } /* - * UUID is traditionaly 16 byte big-endian array, except Intel EFI + * UUID is traditionally 16 byte big-endian array, except Intel EFI * specification where the UUID is a structure of little-endian fields. */ static void swap_efi_guid(efi_guid_t *uid) diff --git a/libblkid/src/partitions/partitions.c b/libblkid/src/partitions/partitions.c index 99ec5d158..c9f7ff667 100644 --- a/libblkid/src/partitions/partitions.c +++ b/libblkid/src/partitions/partitions.c @@ -910,7 +910,7 @@ blkid_partition blkid_partlist_get_partition(blkid_partlist ls, int n) * This function tries to get start and size for @devno from sysfs and * returns a partition from @ls which matches with the values from sysfs. * - * This funtion is necessary when you want to make a relation between an entry + * This function is necessary when you want to make a relation between an entry * in the partition table (@ls) and block devices in your system. * * Returns: partition object or NULL in case or error. diff --git a/libblkid/src/superblocks/linux_raid.c b/libblkid/src/superblocks/linux_raid.c index 609d24bf7..a3f9d67d5 100644 --- a/libblkid/src/superblocks/linux_raid.c +++ b/libblkid/src/superblocks/linux_raid.c @@ -82,7 +82,7 @@ struct mdp1_super_block { uint64_t utime; /* 40 bits second, 24 btes microseconds */ uint64_t events; /* incremented when superblock updated */ uint64_t resync_offset; /* data before this offset (from data_offset) known to be in sync */ - uint32_t sb_csum; /* checksum upto dev_roles[max_dev] */ + uint32_t sb_csum; /* checksum up to dev_roles[max_dev] */ uint32_t max_dev; /* size of dev_roles[] array to consider */ uint8_t pad3[64-32]; /* set to 0 when writing */ @@ -160,7 +160,7 @@ static int probe_raid0(blkid_probe pr, blkid_loff_t off) * Check for collisions between RAID and partition table * * For example the superblock is at the end of the last partition, it's - * the same possition as at the end of the disk... + * the same position as at the end of the disk... */ if ((S_ISREG(pr->mode) || blkid_probe_is_wholedisk(pr)) && blkid_probe_is_covered_by_pt(pr, diff --git a/libblkid/src/superblocks/superblocks.c b/libblkid/src/superblocks/superblocks.c index d985adc05..91f4f8837 100644 --- a/libblkid/src/superblocks/superblocks.c +++ b/libblkid/src/superblocks/superblocks.c @@ -26,13 +26,13 @@ * @title: Superblocks probing * @short_description: filesystems and raids superblocks probing. * - * The library API has been originaly designed for superblocks probing only. + * The library API has been originally designed for superblocks probing only. * This is reason why some *deprecated* superblock specific functions don't use * '_superblocks_' namespace in the function name. Please, don't use these * functions in new code. * * The 'superblocks' probers support NAME=value (tags) interface only. The - * superblocks probing is enabled by default (and controled by + * superblocks probing is enabled by default (and controlled by * blkid_probe_enable_superblocks()). * * Currently supported tags: |