mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 13:00:06 +00:00
* sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
(posix_fadvise): Fix high word of len argument.
This commit is contained in:
parent
0012a8520b
commit
92fa63ee30
@ -1,3 +1,8 @@
|
||||
2007-05-24 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
|
||||
|
||||
* sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c
|
||||
(posix_fadvise): Fix high word of len argument.
|
||||
|
||||
2007-05-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp>
|
||||
|
||||
* sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
|
||||
|
@ -31,7 +31,7 @@ posix_fadvise (int fd, off_t offset, off_t len, int advise)
|
||||
INTERNAL_SYSCALL_DECL (err);
|
||||
int ret = INTERNAL_SYSCALL (fadvise64, err, 7, fd, 0,
|
||||
__LONG_LONG_PAIR (offset >> 31, offset),
|
||||
__LONG_LONG_PAIR (offset >> 31, len),
|
||||
__LONG_LONG_PAIR (len >> 31, len),
|
||||
advise);
|
||||
if (INTERNAL_SYSCALL_ERROR_P (ret, err))
|
||||
return INTERNAL_SYSCALL_ERRNO (ret, err);
|
||||
|
Loading…
Reference in New Issue
Block a user