From bda4e480d2c14ea29310663791300302a2748c6a Mon Sep 17 00:00:00 2001 From: "Yury V. Zaytsev" Date: Sat, 1 Jun 2024 17:45:46 +0200 Subject: [PATCH] maint: fix typos in the code Signed-off-by: Yury V. Zaytsev --- lib/unixcompat.h | 2 +- lib/vfs/parse_ls_vga.c | 2 +- src/vfs/cpio/cpio.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/unixcompat.h b/lib/unixcompat.h index 9a1e0cee6..591a709de 100644 --- a/lib/unixcompat.h +++ b/lib/unixcompat.h @@ -73,7 +73,7 @@ #define O_BINARY _O_BINARY #endif #ifdef __BEOS__ - /* BeOS 5 has O_BINARY, but is has no effect. */ + /* BeOS 5 has O_BINARY, but it has no effect. */ #undef O_BINARY #endif /* On reasonable systems, binary I/O is the default. */ diff --git a/lib/vfs/parse_ls_vga.c b/lib/vfs/parse_ls_vga.c index 4e457afa3..3b179ebda 100644 --- a/lib/vfs/parse_ls_vga.c +++ b/lib/vfs/parse_ls_vga.c @@ -703,7 +703,7 @@ vfs_parse_ls_lga (const char *p, struct stat *s, char **filename, char **linknam if (strlen (p) <= 8 || p[8] != ']') goto error; - /* Should parse here the Notwell permissions :) */ + /* Should parse here the Novell permissions :) */ if (S_ISDIR (s->st_mode)) s->st_mode |= (S_IRUSR | S_IRGRP | S_IROTH | S_IWUSR | S_IXUSR | S_IXGRP | S_IXOTH); else diff --git a/src/vfs/cpio/cpio.c b/src/vfs/cpio/cpio.c index 62914bb51..f14443f36 100644 --- a/src/vfs/cpio/cpio.c +++ b/src/vfs/cpio/cpio.c @@ -456,7 +456,7 @@ cpio_create_entry (struct vfs_class *me, struct vfs_s_super *super, struct stat if (entry != NULL) { /* This shouldn't happen! (well, it can happen if there is a record for a - file and than a record for a directory it is in; cpio would die with + file and then a record for a directory it is in; cpio would die with 'No such file or directory' is such case) */ if (!S_ISDIR (entry->ino->st.st_mode)) -- 2.11.4.GIT