summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-02-23 08:51:23 +0000
committerEric Andersen <andersen@codepoet.org>2001-02-23 08:51:23 +0000
commit48518a1ae1af1e29d14197b4aa93100e609ea854 (patch)
tree975b883b0b814ade738fadbe8b3df10f80bcdaa6
parent2e8171b84b69045f1413ce3efdd112328faa6b49 (diff)
Forgot to increment i
-rw-r--r--test/args/arg_test.c2
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);