Changeset 3077 for lm-sensors/trunk/prog/dump/i2cbusses.c
- Timestamp:
- 09/10/05 13:38:32 (8 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/dump/i2cbusses.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/dump/i2cbusses.c
r2675 r3077 170 170 } 171 171 172 int open_i2c_dev(const int i2cbus, char *filename )172 int open_i2c_dev(const int i2cbus, char *filename, const int quiet) 173 173 { 174 174 int file; … … 182 182 } 183 183 184 if (file < 0 ) {184 if (file < 0 && !quiet) { 185 185 if (errno == ENOENT) { 186 186 fprintf(stderr, "Error: Could not open file "
