diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-01 08:01:40 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-01 08:01:40 +0000 |
commit | cadea7923e5d852ae4ca0d93f46c7290b0f4c889 (patch) | |
tree | 0b7e6b84291513870e29a3b066288b7de52538eb /cpukit/libcsupport | |
parent | 2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-cadea7923e5d852ae4ca0d93f46c7290b0f4c889.tar.bz2 |
2011-12-01 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/src/open.c: Use va_arg(..., mode_t) to retrieve mode.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/src/open.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/libcsupport/src/open.c b/cpukit/libcsupport/src/open.c index a49ebfec0d..a2e1b507e3 100644 --- a/cpukit/libcsupport/src/open.c +++ b/cpukit/libcsupport/src/open.c @@ -64,7 +64,7 @@ int open( ) { va_list ap; - int mode; + mode_t mode; int rc; rtems_libio_t *iop = 0; int status; @@ -84,7 +84,7 @@ int open( va_start(ap, flags); - mode = va_arg( ap, int ); + mode = va_arg( ap, mode_t ); /* * NOTE: This comment is OBSOLETE. The proper way to do this now |