summaryrefslogtreecommitdiffstats
path: root/misc-utils
diff options
context:
space:
mode:
authorSami Kerola2019-01-14 23:40:34 +0100
committerKarel Zak2019-02-18 13:22:43 +0100
commit110260830d49b1872c29af3e3fc16bdba15f7376 (patch)
tree07780a8a1db6a8f9c3ac65806d32db75ee0efd14 /misc-utils
parentinclude/path.h: remove duplicate header inclusion (diff)
downloadkernel-qcow2-util-linux-110260830d49b1872c29af3e3fc16bdba15f7376.tar.gz
kernel-qcow2-util-linux-110260830d49b1872c29af3e3fc16bdba15f7376.tar.xz
kernel-qcow2-util-linux-110260830d49b1872c29af3e3fc16bdba15f7376.zip
docs: fix typos [codespell]
Reference: https://github.com/codespell-project/codespell Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'misc-utils')
-rw-r--r--misc-utils/logger.c2
-rw-r--r--misc-utils/lsblk.h2
-rw-r--r--misc-utils/whereis.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/misc-utils/logger.c b/misc-utils/logger.c
index 394a477db..d6cee8287 100644
--- a/misc-utils/logger.c
+++ b/misc-utils/logger.c
@@ -1282,7 +1282,7 @@ int main(int argc, char **argv)
}
#endif
- /* user overwrites build-in SD-ELEMENT */
+ /* user overwrites built-in SD-ELEMENT */
if (has_structured_data_id(get_user_structured_data(&ctl), "timeQuality"))
ctl.rfc5424_tq = 0;
diff --git a/misc-utils/lsblk.h b/misc-utils/lsblk.h
index a043e7fd7..e15c5b42a 100644
--- a/misc-utils/lsblk.h
+++ b/misc-utils/lsblk.h
@@ -131,7 +131,7 @@ struct lsblk_device {
#define device_is_partition(_x) ((_x)->wholedisk != NULL)
/*
- * Note that lsblk tree uses botton devices (devices without slaves) as root
+ * Note that lsblk tree uses bottom devices (devices without slaves) as root
* of the tree, and partitions are interpreted as a dependence too; it means:
* sda -> sda1 -> md0
*
diff --git a/misc-utils/whereis.c b/misc-utils/whereis.c
index c598d494e..2d4c58125 100644
--- a/misc-utils/whereis.c
+++ b/misc-utils/whereis.c
@@ -547,7 +547,7 @@ int main(int argc, char **argv)
lookup(arg, ls, want);
/*
* The lookup mask ("want") is cumulative and it's
- * resetable only when it has been already used.
+ * resettable only when it has been already used.
*
* whereis -b -m foo :'foo' mask=BIN|MAN
* whereis -b foo bar :'foo' and 'bar' mask=BIN|MAN