diff --git a/bin/chio/chio.c b/bin/chio/chio.c index 5a2a7ba215c3..3264db8bb18d 100644 --- a/bin/chio/chio.c +++ b/bin/chio/chio.c @@ -1144,7 +1144,7 @@ find_element(char *voltag, uint16_t *et, uint16_t *eu) /* * Now search the list the specified */ - for (elem = 0; elem <= total_elem; ++elem) { + for (elem = 0; elem < total_elem; ++elem) { ces = &ch_ces[elem];