Changeset ec0f2df in rtems for cpukit/libcsupport/src/open.c


Ignore:
Timestamp:
Feb 2, 2015, 2:25:25 PM (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5, master
Children:
efd2965a
Parents:
97db9e30
git-author:
Sebastian Huber <sebastian.huber@…> (02/02/15 14:25:25)
git-committer:
Sebastian Huber <sebastian.huber@…> (02/04/15 13:03:49)
Message:

Filesystem: Use rtems_libio_iop_to_descriptor()

Drop parameter check from previously unused
rtems_libio_iop_to_descriptor().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/open.c

    r97db9e30 rec0f2df  
    6767{
    6868  int rv = 0;
    69   int fd = iop - rtems_libio_iops;
     69  int fd = rtems_libio_iop_to_descriptor( iop );
    7070  int rwflag = oflag + 1;
    7171  bool read_access = (rwflag & _FREAD) == _FREAD;
Note: See TracChangeset for help on using the changeset viewer.