diff options
author | Bernhard Voelker <mail@bernhard-voelker.de> | 2021-09-18 21:45:44 +0200 |
---|---|---|
committer | Bernhard Voelker <mail@bernhard-voelker.de> | 2021-09-18 21:45:44 +0200 |
commit | e4a19150297a9232d703d1a83b450490ed4e07d5 (patch) | |
tree | ad75713ddfa2ebf3f204496968e32aaa8bd7d362 | |
parent | a5659a42fa2db0263ca45b1f1806f32c04505dc8 (diff) | |
download | findutils-e4a19150297a9232d703d1a83b450490ed4e07d5.tar.gz |
maint: fix typos in comments
* find/tree.c (get_expr): Add missing closing paren.
* find/util.c (insert_primary): s/insure/ensure/
(fatal_nontarget_file_error): s/isssue/issue/
* xargs/xargs.c (XargsStatusValues): s/exites/exited/
-rw-r--r-- | find/tree.c | 2 | ||||
-rw-r--r-- | find/util.c | 4 | ||||
-rw-r--r-- | xargs/xargs.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/find/tree.c b/find/tree.c index 39c1a4ce..9307821d 100644 --- a/find/tree.c +++ b/find/tree.c @@ -140,7 +140,7 @@ get_expr (struct predicate **input, || BI_OP == prev_pred->p_type) && !this_pred->artificial) { - /* e.g. "find \( -not \)" or "find \( -true -a \" */ + /* e.g. "find \( -not \)" or "find \( -true -a \)" */ die (EXIT_FAILURE, 0, _("expected an expression between '%s' and ')'"), prev_pred->p_name); diff --git a/find/util.c b/find/util.c index 73a0cef2..63de5cce 100644 --- a/find/util.c +++ b/find/util.c @@ -114,7 +114,7 @@ insert_primary_withpred (const struct parser_table *entry, p_prec NO_PREC Other cells that need to be filled in are defaulted by - get_new_pred_chk_op, which is used to insure that the prior node is + get_new_pred_chk_op, which is used to ensure that the prior node is either not there at all (we are the very first node) or is an operator. */ struct predicate * @@ -1195,7 +1195,7 @@ nonfatal_nontarget_file_error (int errno_value, const char *name) void fatal_nontarget_file_error(int errno_value, const char *name) { - /* We're going to exit fatally, so make sure we always isssue the error + /* We're going to exit fatally, so make sure we always issue the error * message, even if it will be duplicate. Motivation: otherwise it may * not be clear what went wrong. */ diff --git a/xargs/xargs.c b/xargs/xargs.c index 7e3db67a..272189c3 100644 --- a/xargs/xargs.c +++ b/xargs/xargs.c @@ -200,7 +200,7 @@ static struct option const longopts[] = */ enum XargsStatusValues { XARGS_EXIT_CLIENT_EXIT_NONZERO = 123, /* utility exited with nonzero status */ - XARGS_EXIT_CLIENT_EXIT_255 = 124, /* utility exites with status 255 */ + XARGS_EXIT_CLIENT_EXIT_255 = 124, /* utility exited with status 255 */ XARGS_EXIT_CLIENT_FATAL_SIG = 125, /* utility died from a fatal signal */ XARGS_EXIT_COMMAND_CANNOT_BE_RUN = 126, /* canot run the command */ XARGS_EXIT_COMMAND_NOT_FOUND = 127, /* cannot find the command */ |