aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-10-08 13:30:08 +0200
committerTheodore Ts'o <tytso@mit.edu>2017-10-15 23:00:11 -0400
commit055866d84dab5e4a0547f54d3bdc017ba4ba99b5 (patch)
treec528336b04e4dbd57ffc57bc9da0d2392844b1f9 /util
parentce20096fc6f3b38de62c2302e3a8cb87f389dda0 (diff)
downloadandroid_external_e2fsprogs-055866d84dab5e4a0547f54d3bdc017ba4ba99b5.tar.gz
android_external_e2fsprogs-055866d84dab5e4a0547f54d3bdc017ba4ba99b5.tar.bz2
android_external_e2fsprogs-055866d84dab5e4a0547f54d3bdc017ba4ba99b5.zip
Fix typos in code comments and developer docs
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 'util')
-rw-r--r--util/gen-tarball.in2
-rw-r--r--util/subst.c2
-rw-r--r--util/symlinks.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/util/gen-tarball.in b/util/gen-tarball.in
index a3a02cef..6b90acb6 100644
--- a/util/gen-tarball.in
+++ b/util/gen-tarball.in
@@ -12,7 +12,7 @@ GZIP=gzip
#
# This hack is needed because texi2dvi blows up horribly if there are
-# any '~' chracters in the directory pathname. So we kludge around it by
+# any '~' characters in the directory pathname. So we kludge around it by
# using a non-standard directory name for WIP releases. dpkg-source
# complains, but life goes on.
#
diff --git a/util/subst.c b/util/subst.c
index e745d863..b37633d2 100644
--- a/util/subst.c
+++ b/util/subst.c
@@ -1,7 +1,7 @@
/*
* subst.c --- substitution program
*
- * Subst is used as a quicky program to do @ substitutions
+ * Subst is used as a quickie program to do @ substitutions
*
*/
diff --git a/util/symlinks.c b/util/symlinks.c
index 600effac..e9d2b011 100644
--- a/util/symlinks.c
+++ b/util/symlinks.c
@@ -126,7 +126,7 @@ static int shorten_path (char *path, char *abspath)
/* get rid of unnecessary "../dir" sequences */
while (abspath && strlen(abspath) > 1 && (p = strstr(path,"../"))) {
- /* find innermost occurance of "../dir", and save "dir" */
+ /* find innermost occurrence of "../dir", and save "dir" */
int slashes = 2;
char *a, *s, *d = dir;
while ((s = strstr(p+3, "../"))) {