diff options
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; |