diff options
Diffstat (limited to 'cpukit/score/src/objectnametoidstring.c')
-rw-r--r-- | cpukit/score/src/objectnametoidstring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/score/src/objectnametoidstring.c b/cpukit/score/src/objectnametoidstring.c index 3bca0441e0..a015d5fc25 100644 --- a/cpukit/score/src/objectnametoidstring.c +++ b/cpukit/score/src/objectnametoidstring.c @@ -52,7 +52,7 @@ Objects_Control *_Objects_Get_by_name( *name_length_p = name_length; } - for ( index = 1; index <= information->maximum; index++ ) { + for ( index = 0; index < information->maximum; ++index ) { Objects_Control *the_object; the_object = information->local_table[ index ]; |