about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--redo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/redo.c b/redo.c
index 9990268..7e9a53f 100644
--- a/redo.c
+++ b/redo.c
@@ -561,8 +561,8 @@ procure(char *target)
 void
 create_pool()
 {
-	poolrd_fd = envfd("REDO_WR_FD");
-	poolwr_fd = envfd("REDO_RD_FD");
+	poolrd_fd = envfd("REDO_RD_FD");
+	poolwr_fd = envfd("REDO_WR_FD");
 	if (poolrd_fd < 0 || poolwr_fd < 0) {
 		int jobs = envfd("JOBS");
 		if (jobs > 1) {