summaryrefslogtreecommitdiff
path: root/usr.bin/make
diff options
context:
space:
mode:
authorjtc <jtc@NetBSD.org>1993-12-15 18:26:40 +0000
committerjtc <jtc@NetBSD.org>1993-12-15 18:26:40 +0000
commit77e8bced10c0aecdf43ecee5f0d55a3a3f773dea (patch)
tree25ac82829b79bff4de653f8edf282cd1da21e839 /usr.bin/make
parent7f6c106f52d7f96d34c69ae452d6a2043fca3217 (diff)
Fix bug (PR #42) with -j flag. Doesn't seem to do anything, but at
least it doesn't dump core anymore.
Diffstat (limited to 'usr.bin/make')
-rw-r--r--usr.bin/make/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c
index ef0a20a3702..e626294d27a 100644
--- a/usr.bin/make/main.c
+++ b/usr.bin/make/main.c
@@ -44,7 +44,7 @@ char copyright[] =
#ifndef lint
/*static char sccsid[] = "from: @(#)main.c 5.25 (Berkeley) 4/1/91";*/
-static char rcsid[] = "$Id: main.c,v 1.8 1993/12/04 02:12:40 cgd Exp $";
+static char rcsid[] = "$Id: main.c,v 1.9 1993/12/15 18:26:40 jtc Exp $";
#endif /* not lint */
/*-
@@ -97,7 +97,7 @@ Boolean allPrecious; /* .PRECIOUS given on line by itself */
static Boolean noBuiltins; /* -r flag */
static Lst makefiles; /* ordered list of makefiles to read */
-int maxJobs; /* -J argument */
+int maxJobs; /* -j argument */
static int maxLocal; /* -L argument */
Boolean debug; /* -d flag */
Boolean noExecute; /* -n flag */
@@ -234,7 +234,7 @@ rearg: while((c = getopt(argc, argv, "D:I:d:ef:ij:knqrst")) != EOF) {
break;
case 'j':
maxJobs = atoi(optarg);
- Var_Append(MAKEFLAGS, "-J", VAR_GLOBAL);
+ Var_Append(MAKEFLAGS, "-j", VAR_GLOBAL);
Var_Append(MAKEFLAGS, optarg, VAR_GLOBAL);
break;
case 'k':