From bc55ddf364535347a24a28222874038b4b64913d Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Fri, 9 Jan 2015 12:33:57 +0100 Subject: Fix a typo in bin_print error message --- Src/builtin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Src') 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; -- cgit 1.4.1