diff options
author | Jason Spiro <jasonspiro@users.noreply.github.com> | 2019-02-15 00:08:25 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2019-02-15 09:19:27 -0600 |
commit | 86cf62c69e9a1869054141ddaee5087e4c9fc417 (patch) | |
tree | 6791768e6bd601344df3a9ffb0f17b1e531d7bc1 /toys | |
parent | b31192fd73b382358b1deb33dc6c4cf4ce9c613f (diff) | |
download | toybox-86cf62c69e9a1869054141ddaee5087e4c9fc417.tar.gz |
Fix typos: e.g. change "cannonical" to "canonical".
Diffstat (limited to 'toys')
-rw-r--r-- | toys/other/readlink.c | 4 | ||||
-rw-r--r-- | toys/posix/pwd.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/toys/other/readlink.c b/toys/other/readlink.c index 6a1a7443..beef92b0 100644 --- a/toys/other/readlink.c +++ b/toys/other/readlink.c @@ -12,7 +12,7 @@ config READLINK With no options, show what symlink points to, return error if not symlink. - Options for producing cannonical paths (all symlinks/./.. resolved): + Options for producing canonical paths (all symlinks/./.. resolved): -e Canonical path to existing entry (fail if missing) -f Full path (fail if directory missing) @@ -28,7 +28,7 @@ void readlink_main(void) { char *s; - // Calculating full cannonical path? + // Calculating full canonical path? // Take advantage of flag positions to calculate m = -1, f = 0, e = 1 if (toys.optflags & (FLAG_f|FLAG_e|FLAG_m)) s = xabspath(*toys.optargs, (toys.optflags&(FLAG_f|FLAG_e))-1); diff --git a/toys/posix/pwd.c b/toys/posix/pwd.c index 08f39bf6..4c6ae99b 100644 --- a/toys/posix/pwd.c +++ b/toys/posix/pwd.c @@ -15,7 +15,7 @@ config PWD Print working (current) directory. -L Use shell's path from $PWD (when applicable) - -P Print cannonical absolute path + -P Print canonical absolute path */ #define FOR_pwd |