diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/pwrite64.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/mips/pwrite64.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/pwrite64.c b/sysdeps/unix/sysv/linux/mips/pwrite64.c index e43a378467..5b481b256c 100644 --- a/sysdeps/unix/sysv/linux/mips/pwrite64.c +++ b/sysdeps/unix/sysv/linux/mips/pwrite64.c @@ -63,7 +63,7 @@ __libc_pwrite64 (fd, buf, count, offset) { /* First try the syscall. */ #if defined _ABI64 && _MIPS_SIM == _ABI64 - result = INLINE_SYSCALL (pwrite, 6, fd, CHECK_N (buf, count), count, 0, + result = INLINE_SYSCALL (pwrite, 5, fd, CHECK_N (buf, count), count, 0, offset); #else result = INLINE_SYSCALL (pwrite, 6, fd, CHECK_N (buf, count), count, 0, @@ -83,7 +83,7 @@ __libc_pwrite64 (fd, buf, count, offset) /* First try the syscall. */ #if defined _ABI64 && _MIPS_SIM == _ABI64 - result = INLINE_SYSCALL (pwrite, 6, fd, CHECK_N (buf, count), count, 0, + result = INLINE_SYSCALL (pwrite, 5, fd, CHECK_N (buf, count), count, 0, offset); #else result = INLINE_SYSCALL (pwrite, 6, fd, CHECK_N (buf, count), count, 0, |