diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-12 14:14:45 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-08-12 14:14:45 +0200 |
commit | 7783248eaac715b813f0635b06cc140ea99bb4d9 (patch) | |
tree | b7c3acbdf7e45afdb31a721a693f0a8a65f80730 /shell | |
parent | 7bfbbd434a6f435b0287cd25406927c630b03f68 (diff) | |
download | busybox-w32-7783248eaac715b813f0635b06cc140ea99bb4d9.tar.gz busybox-w32-7783248eaac715b813f0635b06cc140ea99bb4d9.tar.bz2 busybox-w32-7783248eaac715b813f0635b06cc140ea99bb4d9.zip |
*: s/xatoi_u/xatoi_positive/g - I got bored of mistyping xatoi_u as xatou_i
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r-- | shell/hush.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c index 0a420f685..df4058998 100644 --- a/shell/hush.c +++ b/shell/hush.c | |||
@@ -2788,7 +2788,7 @@ static NOINLINE int expand_vars_to_list(o_string *output, int n, char *arg, char | |||
2788 | /* lookup the variable in question */ | 2788 | /* lookup the variable in question */ |
2789 | if (isdigit(var[0])) { | 2789 | if (isdigit(var[0])) { |
2790 | /* parse_dollar() should have vetted var for us */ | 2790 | /* parse_dollar() should have vetted var for us */ |
2791 | i = xatoi_u(var); | 2791 | i = xatoi_positive(var); |
2792 | if (i < G.global_argc) | 2792 | if (i < G.global_argc) |
2793 | val = G.global_argv[i]; | 2793 | val = G.global_argv[i]; |
2794 | /* else val remains NULL: $N with too big N */ | 2794 | /* else val remains NULL: $N with too big N */ |