summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2017-10-15 23:22:05 -0400
committerTheodore Ts'o <tytso@mit.edu>2017-10-15 23:22:05 -0400
commit70964797453486a4be1b4c9e1d0bd3f981ff5148 (patch)
tree5fa8689323150bee47bb1ec81f3914437c5e6eaf /contrib
parent69ab815dbe7981902847dfefd4f4c2d2cc855ef3 (diff)
Fix spelling typos in contrib/android code
These typos were found by Sebastian Rasmussen <sebras@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/android/basefs_allocator.c2
-rw-r--r--contrib/android/perms.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/contrib/android/basefs_allocator.c b/contrib/android/basefs_allocator.c
index 3d014a22..76d183c9 100644
--- a/contrib/android/basefs_allocator.c
+++ b/contrib/android/basefs_allocator.c
@@ -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;
diff --git a/contrib/android/perms.c b/contrib/android/perms.c
index 08fb8614..b9b2463f 100644
--- a/contrib/android/perms.c
+++ b/contrib/android/perms.c
@@ -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;
}