diff options
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 |