Whamcloud - gitweb
Fix spelling typos in contrib/android code
authorTheodore Ts'o <tytso@mit.edu>
Mon, 16 Oct 2017 03:22:05 +0000 (23:22 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 16 Oct 2017 03:22:05 +0000 (23:22 -0400)
These typos were found by Sebastian Rasmussen <sebras@gmail.com>

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
contrib/android/basefs_allocator.c
contrib/android/perms.c

index 3d014a2..76d183c 100644 (file)
@@ -55,7 +55,7 @@ errcode_t base_fs_alloc_load(ext2_filsys fs, const char *file,
        allocator->cur_entry = NULL;
        allocator->entries = entries;
 
-       /* Overhide the default allocator */
+       /* Override the default allocator */
        fs->get_alloc_block2 = basefs_block_allocator;
        fs->priv_data = allocator;
 
index 08fb861..b9b2463 100644 (file)
@@ -116,7 +116,7 @@ static errcode_t set_perms_and_caps(ext2_filsys fs, ext2_ino_t ino,
                retval = ext2fs_write_inode(fs, ino, &inode);
                if (retval) {
                        com_err(__func__, retval,
-                               _("while writting inode %u"), ino);
+                               _("while writing inode %u"), ino);
                        return retval;
                }
        }
@@ -167,7 +167,7 @@ static errcode_t set_timestamp(ext2_filsys fs, ext2_ino_t ino,
        retval = ext2fs_write_inode(fs, ino, &inode);
        if (retval) {
                com_err(__func__, retval,
-                       _("while writting inode %u"), ino);
+                       _("while writing inode %u"), ino);
                goto end;
        }