summaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/mips/pwrite64.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2003-05-30 17:41:46 +0000
committerAndreas Jaeger <aj@suse.de>2003-05-30 17:41:46 +0000
commitcb76029b4d7a42e34ddbb4fdd7b2b7bbe69bed4f (patch)
tree91af493701a7fc9bed8567cefd90bd4453af4a57 /sysdeps/unix/sysv/linux/mips/pwrite64.c
parent50794a453b2ae734d475f9f76e4c0fa0e529a695 (diff)
2003-05-30 Guido Guenther <agx@sigxcpu.org>
* sysdeps/mips/mips64/bsd-_setjmp.S: Include <sys/asm.h> for SETUP_GP64 and friends. * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Fix register names in internal_syscall{6,7}. * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise. * sysdeps/unix/sysv/linux/mips/pread.c [_MIPS_SIM == _ABI64]: Fix number of syscall arguments. * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise. * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise. * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/pwrite64.c')
-rw-r--r--sysdeps/unix/sysv/linux/mips/pwrite64.c4
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,