Show
Ignore:
Timestamp:
03/03/06 20:45:55 (8 years ago)
Author:
khali
Message:

Fix a harmless typo in w83792d in7 and in8 code. Patch from
Yuan Mu.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/sensors/chips.c

    r3246 r3265  
    26132613  free(label); 
    26142614 
    2615   if (!sensors_get_label_and_valid(*name,SENSORS_W83782D_IN7,&label,&valid) && 
    2616       !sensors_get_feature(*name,SENSORS_W83782D_IN7,&cur) && 
    2617       !sensors_get_feature(*name,SENSORS_W83782D_IN7_MIN,&min) && 
    2618       !sensors_get_feature(*name,SENSORS_W83782D_IN7_MAX,&max)) { 
     2615  if (!sensors_get_label_and_valid(*name, SENSORS_W83792D_IN7, 
     2616                                   &label, &valid) && 
     2617      !sensors_get_feature(*name, SENSORS_W83792D_IN7, &cur) && 
     2618      !sensors_get_feature(*name, SENSORS_W83792D_IN7_MIN, &min) && 
     2619      !sensors_get_feature(*name, SENSORS_W83792D_IN7_MAX, &max)) { 
    26192620    if (valid) { 
    26202621      print_label(label,10); 
     
    26262627  free(label); 
    26272628 
    2628   if (!sensors_get_label_and_valid(*name,SENSORS_W83782D_IN8,&label,&valid) && 
    2629       !sensors_get_feature(*name,SENSORS_W83782D_IN8,&cur) && 
    2630       !sensors_get_feature(*name,SENSORS_W83782D_IN8_MIN,&min) && 
    2631       !sensors_get_feature(*name,SENSORS_W83782D_IN8_MAX,&max)) { 
     2629  if (!sensors_get_label_and_valid(*name, SENSORS_W83792D_IN8, 
     2630                                   &label, &valid) && 
     2631      !sensors_get_feature(*name, SENSORS_W83792D_IN8, &cur) && 
     2632      !sensors_get_feature(*name, SENSORS_W83792D_IN8_MIN, &min) && 
     2633      !sensors_get_feature(*name, SENSORS_W83792D_IN8_MAX, &max)) { 
    26322634    if (valid) { 
    26332635      print_label(label,10);