aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-05-06 22:42:31 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-05-06 22:42:31 -0400
commit874ad187e069f53b01411ce577b39dcec3797a45 (patch)
treedd75fb2c2a35f437019691a4bc100926895a5bf4
parent52be9a9e73e5e8d64a46062d1882852af41a9011 (diff)
Bugfix for 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));
}