Changeset c57316a in rtems
- Timestamp:
- Oct 11, 2007, 12:46:50 PM (14 years ago)
- Branches:
- 4.10, 4.11, 4.9, 5, master
- Children:
- b7fa289
- Parents:
- df16b8bf
- Location:
- cpukit/libi2c
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/libi2c/libi2c.c
rdf16b8bf rc57316a 324 324 325 325 sc = rtems_io_register_driver (0, &libi2c_io_ops, &rtems_libi2c_major); 326 if (RTEMS_SUCCESSFUL != 0) {326 if (RTEMS_SUCCESSFUL != sc) { 327 327 fprintf (stderr, 328 328 DRVNM " Claiming driver slot failed (rtems status code %i)\n", … … 367 367 *chpt = tmp; 368 368 if (i) { 369 fprintf (stderr, " Bad name '%s'; parent directory doesn't exist\n",370 nmcpy );369 fprintf (stderr, "Get %s status failed: %s\n", 370 nmcpy,strerror(errno)); 371 371 return -RTEMS_INVALID_NAME; 372 372 } -
cpukit/libi2c/libi2c.h
rdf16b8bf rc57316a 114 114 * 115 115 * The name will be registered in the filesystem (parent 116 * directories must exist). It may be NULL in which case 116 * directories must exist, also IMFS filesystem must exist see 117 * CONFIGURE_USE_IMFS_AS_BASE_FILESYSTEM). It may be NULL in which case 117 118 * the library will pick a default. 118 119 *
Note: See TracChangeset
for help on using the changeset viewer.