summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eshtrans/eshrt/eshrtbegin.esh4
1 files changed, 2 insertions, 2 deletions
diff --git a/eshtrans/eshrt/eshrtbegin.esh b/eshtrans/eshrt/eshrtbegin.esh
index 1848c45..95e3cdf 100644
--- a/eshtrans/eshrt/eshrtbegin.esh
+++ b/eshtrans/eshrt/eshrtbegin.esh
@@ -244,7 +244,7 @@ __check_args()
if [ ${#} -ne ${__paramc} ]; then
printf 'Error: Incorrect number of arguments to function %s\n' \
- "${__fn}()" >&2
+ "${__fn_name}()" >&2
exit 1
fi
unset IFS
@@ -263,7 +263,7 @@ __check_args()
esac
if ${__err}; then
printf 'Error: Argument %d of %s() %s (%s %s)\n' \
- ${__i} "${__fn}" 'has incorrect type' \
+ ${__i} "${__fn_name}" 'has incorrect type' \
'expecting' "${__param%:*}" >&2
exit 1
else