aboutsummaryrefslogtreecommitdiffstats
path: root/debugfs
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-10-14 20:44:54 +0200
committerTheodore Ts'o <tytso@mit.edu>2017-10-15 23:00:03 -0400
commitce20096fc6f3b38de62c2302e3a8cb87f389dda0 (patch)
tree3df0268e5ca05528fd9375733627882fe9290c86 /debugfs
parenta0e173cd0ed483d03eb54db946e403d129652e31 (diff)
downloadandroid_external_e2fsprogs-ce20096fc6f3b38de62c2302e3a8cb87f389dda0.tar.gz
android_external_e2fsprogs-ce20096fc6f3b38de62c2302e3a8cb87f389dda0.tar.bz2
android_external_e2fsprogs-ce20096fc6f3b38de62c2302e3a8cb87f389dda0.zip
Fix typos in error messages and documentation
Signed-off-by: Sebastian Rasmussen <sebras@gmail.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Diffstat (limited to 'debugfs')
-rw-r--r--debugfs/debugfs.8.in2
-rw-r--r--debugfs/htree.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/debugfs/debugfs.8.in b/debugfs/debugfs.8.in
index 87d487e7..55abd718 100644
--- a/debugfs/debugfs.8.in
+++ b/debugfs/debugfs.8.in
@@ -226,7 +226,7 @@ Clear the contents of the inode
.IR filespec .
.TP
.BI copy_inode " source_inode destination_inode"
-Copy the conents of the inode structure in
+Copy the contents of the inode structure in
.I source_inode
and use it to overwrite the inode structure at
.IR destination_inode .
diff --git a/debugfs/htree.c b/debugfs/htree.c
index 54e55e20..ede1224e 100644
--- a/debugfs/htree.c
+++ b/debugfs/htree.c
@@ -339,7 +339,7 @@ void do_dx_hash(int argc, char *argv[])
err = ext2fs_dirhash(hash_version, argv[optind], strlen(argv[optind]),
hash_seed, &hash, &minor_hash);
if (err) {
- com_err(argv[0], err, "while caclulating hash");
+ com_err(argv[0], err, "while calculating hash");
return;
}
printf("Hash of %s is 0x%0x (minor 0x%0x)\n", argv[optind],