summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorenami <enami@NetBSD.org>2002-11-26 05:30:01 +0000
committerenami <enami@NetBSD.org>2002-11-26 05:30:01 +0000
commitb3e831985fb779a8a6837c92fb40a6efbe5d06cb (patch)
tree6946b1d449c32db811ec8ef0b9b8bb11f858a2b9 /usr.bin/make
parent291eba3888549adc25e0731f6cb9c0d272d6882a (diff)
Call fcntl() on the right file descriptors.
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/job.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c
index 8d88cf04dde..277aea93d87 100644
--- a/usr.bin/make/job.c
+++ b/usr.bin/make/job.c
@@ -1,4 +1,4 @@
-/* $NetBSD: job.c,v 1.73 2002/11/16 22:22:23 gson Exp $ */
+/* $NetBSD: job.c,v 1.74 2002/11/26 05:30:01 enami Exp $ */
/*
* Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
@@ -39,14 +39,14 @@
*/
#ifdef MAKE_BOOTSTRAP
-static char rcsid[] = "$NetBSD: job.c,v 1.73 2002/11/16 22:22:23 gson Exp $";
+static char rcsid[] = "$NetBSD: job.c,v 1.74 2002/11/26 05:30:01 enami Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)job.c 8.2 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: job.c,v 1.73 2002/11/16 22:22:23 gson Exp $");
+__RCSID("$NetBSD: job.c,v 1.74 2002/11/26 05:30:01 enami Exp $");
#endif
#endif /* not lint */
#endif
@@ -2601,8 +2601,8 @@ Job_Init(int maxproc, int maxlocal)
if (pipe(exit_pipe) < 0)
Fatal("error in pipe: %s", strerror(errno));
- fcntl(job_pipe[0], F_SETFD, 1);
- fcntl(job_pipe[1], F_SETFD, 1);
+ fcntl(exit_pipe[0], F_SETFD, 1);
+ fcntl(exit_pipe[1], F_SETFD, 1);
childExitJob.inPipe = exit_pipe[0];