Changeset cadea79 in rtems


Ignore:
Timestamp:
Dec 1, 2011, 8:01:40 AM (7 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
9521992
Parents:
6940c382
Message:

2011-12-01 Ralf Corsépius <ralf.corsepius@…>

  • libcsupport/src/open.c: Use va_arg(..., mode_t) to retrieve mode.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r6940c382 rcadea79  
    112011-12-01      Ralf Corsépius <ralf.corsepius@rtems.org>
    22
     3        * libcsupport/src/open.c: Use va_arg(..., mode_t) to retrieve mode.
    34        * posix/src/mqueueopen.c: Use va_arg(..., mode_t) to retrieve mode.
    45        * posix/src/semopen.c: Use va_arg(..., mode_t) to retrieve mode.
  • cpukit/libcsupport/src/open.c

    r6940c382 rcadea79  
    6565{
    6666  va_list                             ap;
    67   int                                 mode;
     67  mode_t                              mode;
    6868  int                                 rc;
    6969  rtems_libio_t                      *iop = 0;
     
    8585  va_start(ap, flags);
    8686
    87   mode = va_arg( ap, int );
     87  mode = va_arg( ap, mode_t );
    8888
    8989  /*
Note: See TracChangeset for help on using the changeset viewer.