From 874ad187e069f53b01411ce577b39dcec3797a45 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Tue, 6 May 2025 22:42:31 -0400 Subject: Bugfix for commands --- lib/commands/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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)); } -- cgit v1.2.3