Commit 299846f2 by Richard Kenner

(pfatal_with_name, fatal_io_error, vfatal): Use FATAL_EXIT_CODE

instead of magic number.

From-SVN: r9723
parent bbcffef3
...@@ -873,7 +873,7 @@ pfatal_with_name (name) ...@@ -873,7 +873,7 @@ pfatal_with_name (name)
{ {
fprintf (stderr, "%s: ", progname); fprintf (stderr, "%s: ", progname);
perror (name); perror (name);
exit (35); exit (FATAL_EXIT_CODE);
} }
void void
...@@ -881,7 +881,7 @@ fatal_io_error (name) ...@@ -881,7 +881,7 @@ fatal_io_error (name)
char *name; char *name;
{ {
fprintf (stderr, "%s: %s: I/O error\n", progname, name); fprintf (stderr, "%s: %s: I/O error\n", progname, name);
exit (35); exit (FATAL_EXIT_CODE);
} }
/* Called to give a better error message for a bad insn rather than /* Called to give a better error message for a bad insn rather than
...@@ -1348,7 +1348,7 @@ vfatal (s, ap) ...@@ -1348,7 +1348,7 @@ vfatal (s, ap)
va_list ap; va_list ap;
{ {
verror (s, ap); verror (s, ap);
exit (34); exit (FATAL_EXIT_CODE);
} }
void void
...@@ -3939,7 +3939,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE! ...@@ -3939,7 +3939,7 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
if (sorrycount) if (sorrycount)
exit (FATAL_EXIT_CODE); exit (FATAL_EXIT_CODE);
exit (SUCCESS_EXIT_CODE); exit (SUCCESS_EXIT_CODE);
return 34; return 0;
} }
/* Decode -m switches. */ /* Decode -m switches. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment