Browse Source

maint: fix typos in the code

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
Yury V. Zaytsev 9 months ago
parent
commit
bda4e480d2
3 changed files with 3 additions and 3 deletions
  1. 1 1
      lib/unixcompat.h
  2. 1 1
      lib/vfs/parse_ls_vga.c
  3. 1 1
      src/vfs/cpio/cpio.c

+ 1 - 1
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.  */

+ 1 - 1
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

+ 1 - 1
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))