Changeset 6940c382 in rtems


Ignore:
Timestamp:
Dec 1, 2011, 3:46:36 AM (7 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, master
Children:
cadea79
Parents:
e2e9d95
Message:

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

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

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

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

    re2e9d95 r6940c382  
    6464  if ( oflag & O_CREAT ) {
    6565    va_start(arg, oflag);
    66     mode = (mode_t) va_arg( arg, unsigned int );
    67     attr = (struct mq_attr *) va_arg( arg, struct mq_attr * );
     66    mode = va_arg( arg, mode_t );
     67    attr = va_arg( arg, struct mq_attr * );
    6868    va_end(arg);
    6969  }
Note: See TracChangeset for help on using the changeset viewer.