docs: fix typos [codespell]

Reference: https://github.com/codespell-project/codespell
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2019-01-14 22:40:34 +00:00 committed by Karel Zak
parent fcb89ba7bb
commit 110260830d
19 changed files with 25 additions and 25 deletions

View file

@ -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;