diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1997-04-13 14:19:11 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1997-04-13 14:19:11 -0400 |
commit | 1f0fcca5beb211386c526184fdcce4b072a2881c (patch) | |
tree | dbd62d3b10bc4f6118bdfb101175920b8d7a6f14 /gcc/gcov.c | |
parent | 920b13cc7e478c623b19035c2e98a297c62d42bb (diff) | |
download | gcc-1f0fcca5beb211386c526184fdcce4b072a2881c.zip gcc-1f0fcca5beb211386c526184fdcce4b072a2881c.tar.gz gcc-1f0fcca5beb211386c526184fdcce4b072a2881c.tar.bz2 |
(print_usage, open_files): Use FATAL_EXIT_CODE.
From-SVN: r13884
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r-- | gcc/gcov.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -273,7 +273,7 @@ static void print_usage () { fprintf (stderr, "gcov [-b] [-v] [-n] [-l] [-f] [-o OBJDIR] file\n"); - exit (1); + exit (FATAL_EXIT_CODE); } /* Parse the command line. */ @@ -391,7 +391,7 @@ open_files () if (bb_file == NULL) { fprintf (stderr, "Could not open basic block file %s.\n", bb_file_name); - exit (1); + exit (FATAL_EXIT_CODE); } /* If none of the functions in the file were executed, then there won't @@ -408,7 +408,7 @@ open_files () { fprintf (stderr, "Could not open program flow graph file %s.\n", bbg_file_name); - exit (1); + exit (FATAL_EXIT_CODE); } /* Check for empty .bbg file. This indicates that there is no executable @@ -419,7 +419,7 @@ open_files () { fprintf (stderr, "No executable code associated with file %s.\n", input_file_name); - exit (2); + exit (FATAL_EXIT_CODE); } } |