OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c7292f
)
posix_fadvise64 on 64bit systems take 5 arguments, not 6, as pointed out by skinkie...
author
Mike Frysinger
<vapier@gentoo.org>
Sat, 16 Feb 2008 08:33:48 +0000
(08:33 -0000)
committer
Mike Frysinger
<vapier@gentoo.org>
Sat, 16 Feb 2008 08:33:48 +0000
(08:33 -0000)
libc/sysdeps/linux/common/posix_fadvise64.c
patch
|
blob
|
history
diff --git
a/libc/sysdeps/linux/common/posix_fadvise64.c
b/libc/sysdeps/linux/common/posix_fadvise64.c
index
517392a
..
994139c
100644
(file)
--- a/
libc/sysdeps/linux/common/posix_fadvise64.c
+++ b/
libc/sysdeps/linux/common/posix_fadvise64.c
@@
-31,7
+31,7
@@
int posix_fadvise64(int fd, __off64_t offset, __off64_t len, int advice)
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);