diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-01 03:05:17 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-01 03:05:17 +0000 |
commit | e2e9d95b6d81e076a6daa1b28959746c87c1394f (patch) | |
tree | 6d33eaa5a8daef6fee150133b28938d3e1ef7518 /cpukit/posix | |
parent | 2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-e2e9d95b6d81e076a6daa1b28959746c87c1394f.tar.bz2 |
2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/semopen.c: Use va_arg(..., mode_t) to retrieve mode.
Diffstat (limited to '')
-rw-r--r-- | cpukit/posix/src/semopen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/posix/src/semopen.c b/cpukit/posix/src/semopen.c index 9bd4c1e443..3354935eba 100644 --- a/cpukit/posix/src/semopen.c +++ b/cpukit/posix/src/semopen.c @@ -60,7 +60,7 @@ sem_t *sem_open( if ( oflag & O_CREAT ) { va_start(arg, oflag); - mode = (mode_t) va_arg( arg, unsigned int ); + mode = va_arg( arg, mode_t ); value = va_arg( arg, unsigned int ); va_end(arg); } |