From 48518a1ae1af1e29d14197b4aa93100e609ea854 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 23 Feb 2001 08:51:23 +0000 Subject: Forgot to increment i --- test/args/arg_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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); -- cgit v1.2.3