summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--Src/builtin.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 5f6d1db43..696bb2f2f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2019-10-10 Daniel Shahaf <d.s@daniel.shahaf.name>
+
+ * unposted: Src/builtin.c: functions -c: Fix typo
+
2019-10-02 Daniel Shahaf <d.s@daniel.shahaf.name>
* 44797: Completion/Unix/Command/_git: _git-config: Complete
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) {