Changeset 8d49b7c in rtems


Ignore:
Timestamp:
Aug 5, 2003, 8:26:09 PM (16 years ago)
Author:
Jennifer Averett <Jennifer.Averett@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
318d861
Parents:
d14ba48
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

    rd14ba48 r8d49b7c  
     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

    rd14ba48 r8d49b7c  
    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.