aboutsummaryrefslogtreecommitdiff
path: root/lib/commands
diff options
context:
space:
mode:
Diffstat (limited to 'lib/commands')
-rw-r--r--lib/commands/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/commands/commands.c b/lib/commands/commands.c
index 64abe4e0..1e9afe8e 100644
--- a/lib/commands/commands.c
+++ b/lib/commands/commands.c
@@ -17,7 +17,7 @@
#define READ_END 0
#define WRITE_END 1
-static void xpipe(int fd) {
+static void xpipe(int fd[2]) {
if (pipe(fd) != 0)
fail("Failed to create pipe: ", strerror(errno));
}