summary refs log tree commit diff
path: root/command.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-13 21:57:55 -0500
committerJune McEnroe <june@causal.agency>2020-02-13 21:57:55 -0500
commit1e226593ef9860237ec08ad66affcb7da7138f5d (patch)
tree2b0bc6c5902166a71412128cd17f4f4c066906ba /command.c
parentSet swap correctly when closing a window (diff)
downloadcatgirl-1e226593ef9860237ec08ad66affcb7da7138f5d.tar.gz
catgirl-1e226593ef9860237ec08ad66affcb7da7138f5d.zip
Rename procPipe to utilPipe
Diffstat (limited to '')
-rw-r--r--command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/command.c b/command.c
index f801666..ffbea9f 100644
--- a/command.c
+++ b/command.c
@@ -207,7 +207,7 @@ static void commandHelp(size_t id, char *params) {
 	snprintf(buf, sizeof(buf), "ip%s$", (params ? params : "COMMANDS"));
 	setenv("LESS", buf, 1);
 	execlp("man", "man", "1", "catgirl", NULL);
-	dup2(procPipe[1], STDERR_FILENO);
+	dup2(utilPipe[1], STDERR_FILENO);
 	warn("man");
 	_exit(EX_UNAVAILABLE);
 }