Changeset 2247
- Timestamp:
- 01/26/04 22:50:42 (9 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/lib/proc.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/lib/proc.c
r2225 r2247 423 423 fan%d_div -> fan_div%d 424 424 fan%d_min -> fan_min%d 425 fan%d_state -> fan_status%d 425 426 fan%d -> fan_input%d 426 427 in%d_max -> in_max%d … … 433 434 temp%d_min -> temp_min%d 434 435 temp%d_low -> temp_min%d 436 temp%d_state -> temp_status%d 435 437 temp%d -> temp_input%d 436 438 tcrit%d -> temp_crit%d … … 502 504 return 0; 503 505 } 506 if(sscanf(name, "fan%d_stat%c%c", &num, &last, &check) == 2 && last == 'e') { 507 sprintf(sysname, "fan_status%d", num); 508 *sysmag = FANMAG; 509 return 0; 510 } 504 511 if(sscanf(name, "fan%d%c", &num, &check) == 1) { 505 512 sprintf(sysname, "fan_input%d", num); … … 563 570 if(sscanf(name, "temp%d_hig%c%c", &num, &last, &check) == 2 && last == 'h') { 564 571 sprintf(sysname, "temp_max%d", num); 572 *sysmag = TEMPMAG; 573 return 0; 574 } 575 if(sscanf(name, "temp%d_stat%c%c", &num, &last, &check) == 2 && last == 'e') { 576 sprintf(sysname, "temp_status%d", num); 565 577 *sysmag = TEMPMAG; 566 578 return 0;
