summaryrefslogtreecommitdiffstats
path: root/eshtrans
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2016-02-28 23:42:44 (EST)
committer P. J. McDermott <pj@pehjota.net>2016-02-28 23:42:44 (EST)
commit5fe3df1974d7e26d42d2729a60372e2f4c599bcd (patch)
tree002ef42160abf2ac6dda4bf5454818fb89faccde /eshtrans
parent7cc072f43039f911d90dea7e43d6211a3acc5e79 (diff)
downloadeggshell-5fe3df1974d7e26d42d2729a60372e2f4c599bcd.zip
eggshell-5fe3df1974d7e26d42d2729a60372e2f4c599bcd.tar.gz
eggshell-5fe3df1974d7e26d42d2729a60372e2f4c599bcd.tar.bz2
eshtrans/eshrt: Fix function name in __check_args()
Diffstat (limited to 'eshtrans')
-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