Changeset 5638
- Timestamp:
- 02/10/09 21:50:16 (4 years ago)
- Location:
- lm-sensors/trunk
- Files:
-
- 3 modified
-
CHANGES (modified) (1 diff)
-
lib/error.c (modified) (1 diff)
-
lib/init.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/CHANGES
r5637 r5638 10 10 Skip non-file sysfs entries for speed 11 11 Fix memory leak in scanner when using flex 2.5.9 or later 12 Report configuration file read errors 12 13 lm_sensors.init: Support new format of /etc/sysconfig/lm_sensors (#2246) 13 14 Drop support for kernels 2.4 and earlier -
lm-sensors/trunk/lib/error.c
r5633 r5638 59 59 void sensors_default_parse_error(const char *err, int lineno) 60 60 { 61 fprintf(stderr, "Error: Line %d: %s\n", lineno, err); 61 if (lineno) 62 fprintf(stderr, "Error: Line %d: %s\n", lineno, err); 63 else 64 fprintf(stderr, "Error: %s\n", err); 62 65 } 63 66 -
lm-sensors/trunk/lib/init.c
r5302 r5638 89 89 } 90 90 fclose(input); 91 } else if (errno != ENOENT) { 92 sensors_parse_error(strerror(errno), 0); 93 goto exit_cleanup; 91 94 } 92 95 }
