svn commit: trunk/uClibc/libc/sysdeps/linux/common
pkj at uclibc.org
pkj at uclibc.org
Thu Aug 31 11:39:37 UTC 2006
Author: pkj
Date: 2006-08-31 04:39:36 -0700 (Thu, 31 Aug 2006)
New Revision: 16021
Log:
Made it compile again.
Modified:
trunk/uClibc/libc/sysdeps/linux/common/open.c
Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/open.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/open.c 2006-08-30 17:24:44 UTC (rev 16020)
+++ trunk/uClibc/libc/sysdeps/linux/common/open.c 2006-08-31 11:39:36 UTC (rev 16021)
@@ -26,15 +26,14 @@
{
mode_t mode = 0;
- if (oflag & O_CREAT)
- {
+ if (oflag & O_CREAT) {
va_list arg;
va_start (arg, oflag);
mode = va_arg (arg, mode_t);
va_end (arg);
}
- return __syscall_open(file, flags, mode);
+ return __syscall_open(file, oflag, mode);
}
libc_hidden_def(__libc_open)
More information about the uClibc-cvs
mailing list