summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-04-03 22:16:08 +0300
committerArnold D. Robbins <arnold@skeeve.com>2017-04-03 22:16:08 +0300
commit4271b995d64430e794e344f0c4985162eb991052 (patch)
treeba85fed9ded092df02472c8503d507deede3625f
parent22efd6f841af3073c89fbaac79482e925d5d5da3 (diff)
downloadgawk-dead-branches/doc/using-git.tar.gz
Fix a message in extension/inplace.c.dead-branches/doc/using-git
-rw-r--r--extension/ChangeLog6
-rw-r--r--extension/inplace.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/extension/ChangeLog b/extension/ChangeLog
index f1622b69..9ea2ea9a 100644
--- a/extension/ChangeLog
+++ b/extension/ChangeLog
@@ -1,3 +1,9 @@
+2017-04-03 Arnold D. Robbins <arnold@skeeve.com>
+
+ * inplace.c (inplace_end): Correct the function name in the
+ wrong argument count error message. Thanks to Dan Neilsen
+ for the report.
+
2017-03-07 Andrew J. Schorr <aschorr@telemetry-investments.com>
* Makefile.am (pkgextension_LTLIBRARIES): Remove testext.la, since it
diff --git a/extension/inplace.c b/extension/inplace.c
index ecc3afdc..f89017b7 100644
--- a/extension/inplace.c
+++ b/extension/inplace.c
@@ -208,7 +208,7 @@ do_inplace_end(int nargs, awk_value_t *result, struct awk_ext_func *unused)
assert(result != NULL);
if (nargs != 2)
- fatal(ext_id, _("inplace_begin: expects 2 arguments but called with %d"), nargs);
+ fatal(ext_id, _("inplace_end: expects 2 arguments but called with %d"), nargs);
if (! get_argument(0, AWK_STRING, &filename))
fatal(ext_id, _("inplace_end: cannot retrieve 1st argument as a string filename"));