summaryrefslogtreecommitdiff
path: root/src/malloc/__brk.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/malloc/__brk.c')
-rw-r--r--src/malloc/__brk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/malloc/__brk.c b/src/malloc/__brk.c
index e3b3af31..0b561ea0 100644
--- a/src/malloc/__brk.c
+++ b/src/malloc/__brk.c
@@ -3,5 +3,5 @@
uintptr_t __brk(uintptr_t newbrk)
{
- return syscall1(__NR_brk, newbrk);
+ return syscall(SYS_brk, newbrk);
}