diff options
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 ad30ac1ea..a888332bc 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) | |||
4938 | *p = '\0'; /* replace trailing <SPECIAL_VAR_SYMBOL> */ | 4938 | *p = '\0'; /* replace trailing <SPECIAL_VAR_SYMBOL> */ |
4939 | debug_printf_subst("ARITH '%s' first_ch %x\n", arg, first_ch); | 4939 | debug_printf_subst("ARITH '%s' first_ch %x\n", arg, first_ch); |
4940 | res = expand_and_evaluate_arith(arg, NULL); | 4940 | res = expand_and_evaluate_arith(arg, NULL); |
4941 | debug_printf_subst("ARITH RES '"arith_t_fmt"'\n", res); | 4941 | debug_printf_subst("ARITH RES '"ARITH_FMT"'\n", res); |
4942 | sprintf(arith_buf, arith_t_fmt, res); | 4942 | sprintf(arith_buf, ARITH_FMT, res); |
4943 | val = arith_buf; | 4943 | val = arith_buf; |
4944 | break; | 4944 | break; |
4945 | } | 4945 | } |