diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-30 20:05:10 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-08-30 20:05:10 +0200 |
commit | a00329ca8edd29c62084e400aa972cfcd0a8ab02 (patch) | |
tree | d349cfc8707bac69fb0a85e3c83f9c0b966e5320 | |
parent | 630dde1cef920dd8ff99bda0f3fdebfb564e2260 (diff) | |
download | busybox-w32-a00329ca8edd29c62084e400aa972cfcd0a8ab02.tar.gz busybox-w32-a00329ca8edd29c62084e400aa972cfcd0a8ab02.tar.bz2 busybox-w32-a00329ca8edd29c62084e400aa972cfcd0a8ab02.zip |
ash: better comment. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index bb9464af9..35d5cde58 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -6400,7 +6400,7 @@ varvalue(char *name, int varflags, int flags, struct strlist *var_str_list) | |||
6400 | case '7': | 6400 | case '7': |
6401 | case '8': | 6401 | case '8': |
6402 | case '9': | 6402 | case '9': |
6403 | num = atoi(name); /* number(name) fails on ${var#str} etc */ | 6403 | num = atoi(name); /* number(name) fails on ${N#str} etc */ |
6404 | if (num < 0 || num > shellparam.nparam) | 6404 | if (num < 0 || num > shellparam.nparam) |
6405 | return -1; | 6405 | return -1; |
6406 | p = num ? shellparam.p[num - 1] : arg0; | 6406 | p = num ? shellparam.p[num - 1] : arg0; |