summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1994-04-21 02:01:24 +0000
committerRoland McGrath <roland@redhat.com>1994-04-21 02:01:24 +0000
commit4848c1987006aaec0a07aded82ccebca5253ec2f (patch)
treed6f3da62656bfd5e80a2796171dae06a3951d317
parentbca4e882ba29f3f8c24d671b7142b3885e7ebde6 (diff)
downloadgunmake-4848c1987006aaec0a07aded82ccebca5253ec2f.tar.gz
(fatal, makefile_fatal): Die with 2; 1 is reserved for -q answer.
-rw-r--r--misc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc.c b/misc.c
index be60d91..f5d45ed 100644
--- a/misc.c
+++ b/misc.c
@@ -223,7 +223,7 @@ fatal (s1, s2, s3, s4, s5, s6)
fprintf (stderr, s1, s2, s3, s4, s5, s6);
fputs (". Stop.\n", stderr);
- die (1);
+ die (2);
}
/* Print error message. `s1' is printf control string, `s2' is arg for it. */
@@ -265,7 +265,7 @@ makefile_fatal (file, lineno, s1, s2, s3, s4, s5, s6)
fprintf (stderr, s1, s2, s3, s4, s5, s6);
fputs (". Stop.\n", stderr);
- die (1);
+ die (2);
}
#ifndef HAVE_STRERROR