Changeset 4774
- Timestamp:
- 09/05/07 17:56:28 (6 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/branches/lm-sensors-3.0.0/prog/sensors/chips.c
r4766 r4774 81 81 82 82 indx = iter->type - first_val - 1; 83 if (indx < 0 || indx >= size) { 84 printf("ERROR: Bug in sensors: index out of bound"); 85 return; 86 } 83 if (indx < 0 || indx >= size) 84 /* New feature in libsensors? Ignore. */ 85 continue; 87 86 88 87 if (sensors_get_value(name, iter->number, &feature_vals[indx]))
