diff options
author | Denys Vlasenko | 2010-09-16 11:50:46 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-09-16 11:50:46 +0200 |
commit | bed7c81ea24e9e9ba2a897e233de2abefe611e8b (patch) | |
tree | b18a4559e60300fecd7275c0088f8942441072a2 /shell/hush.c | |
parent | 063847d6bd23e184c409f37645ba90fa4d039ada (diff) | |
download | busybox-bed7c81ea24e9e9ba2a897e233de2abefe611e8b.zip busybox-bed7c81ea24e9e9ba2a897e233de2abefe611e8b.tar.gz |
shell/math: deconvolute and explain ?: handling. Give better error message
function old new delta
arith_apply 1271 1283 +12
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'shell/hush.c')
-rw-r--r-- | shell/hush.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c index ad30ac1..a888332 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -4938,8 +4938,8 @@ static NOINLINE int expand_vars_to_list(o_string *output, int n, char *arg) *p = '\0'; /* replace trailing <SPECIAL_VAR_SYMBOL> */ debug_printf_subst("ARITH '%s' first_ch %x\n", arg, first_ch); res = expand_and_evaluate_arith(arg, NULL); - debug_printf_subst("ARITH RES '"arith_t_fmt"'\n", res); - sprintf(arith_buf, arith_t_fmt, res); + debug_printf_subst("ARITH RES '"ARITH_FMT"'\n", res); + sprintf(arith_buf, ARITH_FMT, res); val = arith_buf; break; } |