svn commit: trunk/uClibc/libc/sysdeps/linux/common

vapier at uclibc.org vapier at uclibc.org
Sat Feb 16 08:33:49 UTC 2008


Author: vapier
Date: 2008-02-16 00:33:48 -0800 (Sat, 16 Feb 2008)
New Revision: 21035

Log:
posix_fadvise64 on 64bit systems take 5 arguments, not 6, as pointed out by skinkie in #2194

Modified:
   trunk/uClibc/libc/sysdeps/linux/common/posix_fadvise64.c


Changeset:
Modified: trunk/uClibc/libc/sysdeps/linux/common/posix_fadvise64.c
===================================================================
--- trunk/uClibc/libc/sysdeps/linux/common/posix_fadvise64.c	2008-02-16 08:24:02 UTC (rev 21034)
+++ trunk/uClibc/libc/sysdeps/linux/common/posix_fadvise64.c	2008-02-16 08:33:48 UTC (rev 21035)
@@ -31,7 +31,7 @@
   if (len != (off_t) len)
     return EOVERFLOW;
   INTERNAL_SYSCALL_DECL (err);
-    int ret = INTERNAL_SYSCALL (posix_fadvise64, err, 6, fd,
+    int ret = INTERNAL_SYSCALL (posix_fadvise64, err, 5, fd,
                                __LONG_LONG_PAIR ((long) (offset >> 32),
                                                  (long) offset),
                                (off_t) len, advice);




More information about the uClibc-cvs mailing list