global cleanup to use the new syscall interface
[musl] / src / linux / sbrk.c
index 56f60d1..b2943a9 100644 (file)
@@ -3,5 +3,5 @@
 
 void *sbrk(ptrdiff_t inc)
 {
-       return (void *)syscall1(__NR_brk, syscall1(__NR_brk, 0)+inc);
+       return (void *)syscall(SYS_brk, syscall(SYS_brk, 0)+inc);
 }