diff options
Diffstat (limited to 'extension')
-rw-r--r-- | extension/ChangeLog | 6 | ||||
-rw-r--r-- | extension/inplace.c | 2 |
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")); |