aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/mips/brk.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/mips/brk.c')
-rw-r--r--sysdeps/unix/sysv/linux/mips/brk.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/mips/brk.c b/sysdeps/unix/sysv/linux/mips/brk.c
index 4ec2a43bc8..0335837948 100644
--- a/sysdeps/unix/sysv/linux/mips/brk.c
+++ b/sysdeps/unix/sysv/linux/mips/brk.c
@@ -30,10 +30,9 @@ weak_alias (__curbrk, ___brk_addr)
int
__brk (void *addr)
{
- INTERNAL_SYSCALL_DECL (err);
void *newbrk;
- newbrk = (void *) INTERNAL_SYSCALL (brk, err, 1, addr);
+ newbrk = (void *) INTERNAL_SYSCALL_CALL (brk, addr);
__curbrk = newbrk;
if (newbrk < addr)