about summary refs log tree commit diff
path: root/src/unistd/pipe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/unistd/pipe.c')
-rw-r--r--src/unistd/pipe.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unistd/pipe.c b/src/unistd/pipe.c
index 2dfc9c99..36c6f13e 100644
--- a/src/unistd/pipe.c
+++ b/src/unistd/pipe.c
@@ -3,5 +3,5 @@
 
 int pipe(int fd[2])
 {
-	return syscall1(__NR_pipe, (long)fd);
+	return syscall(SYS_pipe, fd);
 }