docs: fix typos [codespell]
Reference: https://github.com/codespell-project/codespell Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
fcb89ba7bb
commit
110260830d
19 changed files with 25 additions and 25 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue