aboutsummaryrefslogtreecommitdiff
path: root/toys/other
diff options
context:
space:
mode:
authorJason Spiro <jasonspiro@users.noreply.github.com>2019-02-15 00:08:25 -0500
committerRob Landley <rob@landley.net>2019-02-15 09:19:27 -0600
commit86cf62c69e9a1869054141ddaee5087e4c9fc417 (patch)
tree6791768e6bd601344df3a9ffb0f17b1e531d7bc1 /toys/other
parentb31192fd73b382358b1deb33dc6c4cf4ce9c613f (diff)
downloadtoybox-86cf62c69e9a1869054141ddaee5087e4c9fc417.tar.gz
Fix typos: e.g. change "cannonical" to "canonical".
Diffstat (limited to 'toys/other')
-rw-r--r--toys/other/readlink.c4
1 files changed, 2 insertions, 2 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);