summaryrefslogtreecommitdiff
path: root/usr.bin/make/job.c
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-31 19:29:21 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-31 19:29:21 +0000
commit0337e413c83ef94ff187cca6d7fac117fa2dbdf9 (patch)
treee89f9b48b76e06224b202ea2546c84acf6b88047 /usr.bin/make/job.c
parent9fed39ad8b8ac256f2fcd3def5790b6d4f565532 (diff)
use fork, not vfork. seems to fix misterious trapframe trashing on hppa; deraadt@ ok
Diffstat (limited to 'usr.bin/make/job.c')
-rw-r--r--usr.bin/make/job.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c
index 17116189f45..f4cfe483d05 100644
--- a/usr.bin/make/job.c
+++ b/usr.bin/make/job.c
@@ -1,5 +1,5 @@
/* $OpenPackages$ */
-/* $OpenBSD: job.c,v 1.51 2002/06/12 06:07:16 mpech Exp $ */
+/* $OpenBSD: job.c,v 1.52 2002/07/31 19:29:20 mickey Exp $ */
/* $NetBSD: job.c,v 1.16 1996/11/06 17:59:08 christos Exp $ */
/*
@@ -1219,7 +1219,7 @@ JobExec(job, argv)
lastNode = job->node;
}
- if ((cpid = vfork()) == -1) {
+ if ((cpid = fork()) == -1) {
Punt("Cannot fork");
} else if (cpid == 0) {