global cleanup to use the new syscall interface
[musl] / src / linux / brk.c
index 3c2982c..9f63c5a 100644 (file)
@@ -2,5 +2,5 @@
 
 int brk(void *end)
 {
 
 int brk(void *end)
 {
-       return -(syscall1(__NR_brk, (long)end) == -1);
+       return -(syscall(SYS_brk, end) == -1);
 }
 }