diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-02-23 08:51:23 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-02-23 08:51:23 +0000 |
commit | 48518a1ae1af1e29d14197b4aa93100e609ea854 (patch) | |
tree | 975b883b0b814ade738fadbe8b3df10f80bcdaa6 /test/args | |
parent | 2e8171b84b69045f1413ce3efdd112328faa6b49 (diff) |
Forgot to increment i
Diffstat (limited to 'test/args')
-rw-r--r-- | test/args/arg_test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/args/arg_test.c b/test/args/arg_test.c index 98a71f4d5..b23e17610 100644 --- a/test/args/arg_test.c +++ b/test/args/arg_test.c @@ -37,7 +37,7 @@ int main( int argc, char **argv) i=0; while(*index) { - fprintf(stderr, "environ[%d]='%s'\n", i, *index++); + fprintf(stderr, "environ[%d]='%s'\n", i++, *index++); } exit(0); |