2001-09-28 Joel Sherrill <joel@OARcorp.com>

* src/mqueueopen.c, src/semopen.c: Clarify type on va_arg.
This commit is contained in:
Joel Sherrill
2001-09-28 23:14:08 +00:00
parent a463a2f86f
commit 194b5c708d
6 changed files with 12 additions and 4 deletions

View File

@@ -1,3 +1,7 @@
2001-09-28 Joel Sherrill <joel@OARcorp.com>
* src/mqueueopen.c, src/semopen.c: Clarify type on va_arg.
2001-09-23 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* include/sys/Makefile.am: Use 'PREINSTALL_FILES ='.

View File

@@ -57,7 +57,7 @@ mqd_t mq_open(
if ( oflag & O_CREAT ) {
va_start(arg, oflag);
mode = (mode_t) va_arg( arg, mode_t );
mode = (mode_t) va_arg( arg, unsigned int );
attr = (struct mq_attr *) va_arg( arg, struct mq_attr * );
va_end(arg);
}

View File

@@ -53,7 +53,7 @@ sem_t *sem_open(
if ( oflag & O_CREAT ) {
va_start(arg, oflag);
mode = va_arg( arg, mode_t );
mode = (mode_t) va_arg( arg, unsigned int );
value = va_arg( arg, unsigned int );
va_end(arg);
}