Changeset 5854
- Timestamp:
- 08/18/10 22:00:28 (3 years ago)
- Location:
- i2c-tools/trunk
- Files:
-
- 2 modified
-
CHANGES (modified) (1 diff)
-
tools/i2cbusses.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
i2c-tools/trunk/CHANGES
r5830 r5854 19 19 Unload i2c-stub automatically if needed 20 20 Add support for multiple dumps 21 tools: Properly handle /dev/i2c not being a directory 21 22 22 23 3.0.2 (2008-11-29) -
i2c-tools/trunk/tools/i2cbusses.c
r5452 r5854 379 379 file = open(filename, O_RDWR); 380 380 381 if (file < 0 && errno == ENOENT) {381 if (file < 0 && (errno == ENOENT || errno == ENOTDIR)) { 382 382 sprintf(filename, "/dev/i2c-%d", i2cbus); 383 383 file = open(filename, O_RDWR);
