summaryrefslogtreecommitdiff
path: root/tests/tsd1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tsd1.c')
-rw-r--r--tests/tsd1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tsd1.c b/tests/tsd1.c
index 93403b1..9448c10 100644
--- a/tests/tsd1.c
+++ b/tests/tsd1.c
@@ -146,7 +146,7 @@ main()
assert(pthread_key_delete(key) == 0);
- for (i = 0; i < 10; i++)
+ for (i = 1; i < 10; i++)
{
/*
* The counter is incremented once when the key is set to
@@ -165,5 +165,5 @@ main()
fflush(stderr);
- return (fail) ? 1 : 0;
+ return (fail);
}