Changeset ca15cda0 in rtems


Ignore:
Timestamp:
Aug 5, 2003, 8:25:02 PM (16 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Children:
e8f49680
Parents:
3605c4e
Message:

2003-08-05 <djc915@…>

PR 443/filesystem

  • src/imfs/deviceio.c: deviceio.c mishandles return codes
Location:
cpukit/libfs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libfs/ChangeLog

    r3605c4e rca15cda0  
     12003-08-05      <djc915@mail.usask.ca>
     2
     3        PR 443/filesystem
     4        * src/imfs/deviceio.c: deviceio.c mishandles return codes
     5
    162003-08-05      Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
    27
  • cpukit/libfs/src/imfs/deviceio.c

    r3605c4e rca15cda0  
    4444};
    4545
    46 static unsigned32
     46static int
    4747rtems_deviceio_errno(rtems_status_code code)
    4848{
     
    8585    (void *) &args
    8686  );
    87   if ( status ) {
    88     rtems_deviceio_errno(status);
    89     return RTEMS_UNSATISFIED;
    90   }
     87  if ( status )
     88    return rtems_deviceio_errno(status);
    9189
    9290  return 0;
     
    119117  );
    120118  if ( status ) {
    121     rtems_deviceio_errno(status);
    122     return RTEMS_UNSATISFIED;
     119    return rtems_deviceio_errno(status);
    123120  }
    124121  return 0;
Note: See TracChangeset for help on using the changeset viewer.