about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2019-10-10 03:44:56 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2019-10-10 03:45:02 +0000
commit72c6dbe1bee6f4a036b9be38d1430ab75b753c4b (patch)
tree219b3c7de490ee9ca9c61250b6628078a194c5e5 /Src
parent243e46998eb29665ec345e531b2d1bb6921ed578 (diff)
downloadzsh-72c6dbe1bee6f4a036b9be38d1430ab75b753c4b.tar.gz
zsh-72c6dbe1bee6f4a036b9be38d1430ab75b753c4b.tar.xz
zsh-72c6dbe1bee6f4a036b9be38d1430ab75b753c4b.zip
unposted: functions -c: Fix typo
Diffstat (limited to 'Src')
-rw-r--r--Src/builtin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/builtin.c b/Src/builtin.c
index 5b95cc4fd..18daad4fa 100644
--- a/Src/builtin.c
+++ b/Src/builtin.c
@@ -3263,7 +3263,7 @@ bin_functions(char *name, char **argv, Options ops, int func)
 	}
 	shf = (Shfunc) shfunctab->getnode(shfunctab, *argv);
 	if (!shf) {
-	    zwarnnam(name, "no such funciton: %s", *argv);
+	    zwarnnam(name, "no such function: %s", *argv);
 	    return 1;
 	}
 	if (shf->node.flags & PM_UNDEFINED) {