From 70964797453486a4be1b4c9e1d0bd3f981ff5148 Mon Sep 17 00:00:00 2001 From: Theodore Ts'o Date: Sun, 15 Oct 2017 23:22:05 -0400 Subject: [PATCH] Fix spelling typos in contrib/android code These typos were found by Sebastian Rasmussen Signed-off-by: Theodore Ts'o --- contrib/android/basefs_allocator.c | 2 +- contrib/android/perms.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/android/basefs_allocator.c b/contrib/android/basefs_allocator.c index 3d014a2..76d183c 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 08fb861..b9b2463 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; } -- 1.8.3.1