mirror of
https://github.com/mirror/make.git
synced 2024-12-29 14:30:42 +08:00
(fatal, makefile_fatal): Die with 2; 1 is reserved for -q answer.
This commit is contained in:
parent
bca4e882ba
commit
4848c19870
4
misc.c
4
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
|
||||
|
Loading…
Reference in New Issue
Block a user