summaryrefslogtreecommitdiff
path: root/test/args/arg_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/args/arg_test.c')
-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);