diff options
author | Sami Kerola | 2019-01-14 23:40:34 +0100 |
---|---|---|
committer | Karel Zak | 2019-02-18 13:22:43 +0100 |
commit | 110260830d49b1872c29af3e3fc16bdba15f7376 (patch) | |
tree | 07780a8a1db6a8f9c3ac65806d32db75ee0efd14 /lib/path.c | |
parent | include/path.h: remove duplicate header inclusion (diff) | |
download | kernel-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 'lib/path.c')
-rw-r--r-- | lib/path.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/path.c b/lib/path.c index 9dfdc94f8..e2e26c22c 100644 --- a/lib/path.c +++ b/lib/path.c @@ -585,7 +585,7 @@ int ul_path_read_string(struct path_cxt *pc, char **str, const char *path) if (rc < 0 || !str) return rc;; - /* Remove tailing newline (usuall in sysfs) */ + /* Remove tailing newline (usual in sysfs) */ if (rc > 0 && *(buf + rc - 1) == '\n') --rc; @@ -618,7 +618,7 @@ int ul_path_read_buffer(struct path_cxt *pc, char *buf, size_t bufsz, const char if (rc < 0) return rc;; - /* Remove tailing newline (usuall in sysfs) */ + /* Remove tailing newline (usual in sysfs) */ if (rc > 0 && *(buf + rc - 1) == '\n') --rc; |