diff options
Diffstat (limited to 'tests/sequence1.c')
-rwxr-xr-x | tests/sequence1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sequence1.c b/tests/sequence1.c index e7d7db0..46388ee 100755 --- a/tests/sequence1.c +++ b/tests/sequence1.c @@ -112,7 +112,7 @@ main() assert(pthread_attr_init(&attr) == 0); assert(pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED) == 0); - for (i = 0; i <= NUMTHREADS+2; i++) + for (i = 0; i < NUMTHREADS+2; i++) { seqmap[i] = 0; } |