diff options
author | Mikael Magnusson <mikachu@gmail.com> | 2015-01-09 12:33:57 +0100 |
---|---|---|
committer | Mikael Magnusson <mikachu@gmail.com> | 2015-01-09 12:37:25 +0100 |
commit | bc55ddf364535347a24a28222874038b4b64913d (patch) | |
tree | 891c05b6aec5a7ea346717a715730af4d34e31ec | |
parent | c0d01a6fe0c67911650730cf13a2b9a0db16e59b (diff) | |
download | zsh-bc55ddf364535347a24a28222874038b4b64913d.tar.gz zsh-bc55ddf364535347a24a28222874038b4b64913d.tar.xz zsh-bc55ddf364535347a24a28222874038b4b64913d.zip |
Fix a typo in bin_print error message
-rw-r--r-- | Src/builtin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Src/builtin.c b/Src/builtin.c index d9ca95a53..d2108264f 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -3784,7 +3784,7 @@ bin_print(char *name, char **args, Options ops, int func) /* compute lengths, and interpret according to -P, -D, -e, etc. */ argc = arrlen(args); len = (int *) hcalloc(argc * sizeof(int)); - for(n = 0; n < argc; n++) { + for (n = 0; n < argc; n++) { /* first \ sequences */ if (fmt || (!OPT_ISSET(ops,'e') && @@ -3854,7 +3854,7 @@ bin_print(char *name, char **args, Options ops, int func) char *eptr, *argptr = OPT_ARG(ops,'C'); nc = (int)zstrtol(argptr, &eptr, 10); if (*eptr) { - zwarnnam(name, "number expcted after -%c: %s", 'C', argptr); + zwarnnam(name, "number expected after -%c: %s", 'C', argptr); return 1; } if (nc <= 0) { @@ -3881,7 +3881,7 @@ bin_print(char *name, char **args, Options ops, int func) char *argptr = OPT_ARG(ops,'u'), *eptr; /* Handle undocumented feature that -up worked */ if (!strcmp(argptr, "p")) { - fdarg= coprocout; + fdarg = coprocout; if (fdarg < 0) { zwarnnam(name, "-p: no coprocess"); return 1; |