diff options
Diffstat (limited to 'cpukit/score/src/threaditerate.c')
-rw-r--r-- | cpukit/score/src/threaditerate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/threaditerate.c b/cpukit/score/src/threaditerate.c index eff3472d57..9fa9b89166 100644 --- a/cpukit/score/src/threaditerate.c +++ b/cpukit/score/src/threaditerate.c @@ -39,7 +39,7 @@ void _Thread_Iterate( continue; } - for ( i = 1 ; i <= information->maximum ; ++i ) { + for ( i = 0 ; i < information->maximum ; ++i ) { Thread_Control *the_thread; the_thread = (Thread_Control *) information->local_table[ i ]; |