diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-05-06 22:42:31 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-05-06 22:42:31 -0400 |
| commit | 874ad187e069f53b01411ce577b39dcec3797a45 (patch) | |
| tree | dd75fb2c2a35f437019691a4bc100926895a5bf4 | |
| parent | 52be9a9e73e5e8d64a46062d1882852af41a9011 (diff) | |
Bugfix for commands
| -rw-r--r-- | lib/commands/commands.c | 2 |
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)); } |
