summaryrefslogtreecommitdiffstats
path: root/sys-utils
diff options
context:
space:
mode:
authorBernhard Voelker2012-04-20 00:10:44 +0200
committerKarel Zak2012-04-23 13:16:35 +0200
commit455fe9a075cc59e3250af9c413d42e7ac47a86a9 (patch)
treeb5aae6ccef42cb7c5c459d6c6951957528d06c88 /sys-utils
parentfdisk: simplify device opening (diff)
downloadkernel-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 'sys-utils')
-rw-r--r--sys-utils/dmesg.c2
-rw-r--r--sys-utils/ipcs.c2
-rw-r--r--sys-utils/lscpu.c2
-rw-r--r--sys-utils/mount.82
4 files changed, 4 insertions, 4 deletions
diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c
index de4b3abc6..b47fede96 100644
--- a/sys-utils/dmesg.c
+++ b/sys-utils/dmesg.c
@@ -113,7 +113,7 @@ struct dmesg_control {
/*
* For the --file option we mmap whole file. The unnecessary (already
* printed) pages are always unmapped. The result is that we have in
- * memory only the currenly used page(s).
+ * memory only the currently used page(s).
*/
char *mmap_buff;
size_t pagesize;
diff --git a/sys-utils/ipcs.c b/sys-utils/ipcs.c
index fc4164823..2fbca0888 100644
--- a/sys-utils/ipcs.c
+++ b/sys-utils/ipcs.c
@@ -301,7 +301,7 @@ void do_shm (char format)
case STATUS:
printf (_("------ Shared Memory Status --------\n"));
/*
- * TRANSLATORS: This output format is mantained for backward
+ * TRANSLATORS: This output format is maintained for backward
* compatibility as ipcs is used in scripts. For consistency
* with the rest, the translated form can follow this model:
*
diff --git a/sys-utils/lscpu.c b/sys-utils/lscpu.c
index 1c2d9b61a..a4994b0cc 100644
--- a/sys-utils/lscpu.c
+++ b/sys-utils/lscpu.c
@@ -560,7 +560,7 @@ read_hypervisor(struct lscpu_desc *desc)
}
}
-/* add @set to the @ary, unnecesary set is deallocated. */
+/* add @set to the @ary, unnecessary set is deallocated. */
static int add_cpuset_to_array(cpu_set_t **ary, int *items, cpu_set_t *set)
{
int i;
diff --git a/sys-utils/mount.8 b/sys-utils/mount.8
index 56897e994..ec0248b0d 100644
--- a/sys-utils/mount.8
+++ b/sys-utils/mount.8
@@ -886,7 +886,7 @@ filesystem that supports xattr labeling.
The
.BR rootcontext=
option allows you to explicitly label the root inode of a FS being mounted
-before that FS or inode because visable to userspace. This was found to be
+before that FS or inode because visible to userspace. This was found to be
useful for things like stateless linux.
Note that kernel rejects any remount request that includes the context