Changeset 830
- Timestamp:
- 07/04/00 03:42:30 (13 years ago)
- Files:
-
- 1 modified
-
lm-sensors/trunk/prog/dump/i2cdump.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lm-sensors/trunk/prog/dump/i2cdump.c
r827 r830 127 127 128 128 sprintf(filename1,"/dev/i2c-%d",i2cbus); 129 sprintf(filename2,"/dev/i2c -%d",i2cbus);129 sprintf(filename2,"/dev/i2c%d",i2cbus); 130 130 if ((file = open(filename1,O_RDWR)) < 0) { 131 if ((file = open(filename 1,O_RDWR)) < 0) {131 if ((file = open(filename2,O_RDWR)) < 0) { 132 132 fprintf(stderr,"Error: Could not open file `%s' or `%s': %s\n",filename1, 133 133 filename2,strerror(errno));
