global cleanup to use the new syscall interface
[musl] / src / unistd / pipe.c
index 2dfc9c9..36c6f13 100644 (file)
@@ -3,5 +3,5 @@
 
 int pipe(int fd[2])
 {
-       return syscall1(__NR_pipe, (long)fd);
+       return syscall(SYS_pipe, fd);
 }