From d587587a868ce3979810bedb4221d78959cd52ee Mon Sep 17 00:00:00 2001 From: kenner Date: Sun, 13 Apr 1997 18:19:11 +0000 Subject: (print_usage, open_files): Use FATAL_EXIT_CODE. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13884 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/gcov.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gcc/gcov.c') diff --git a/gcc/gcov.c b/gcc/gcov.c index 26374c1df6d..86107ac89fc 100644 --- a/gcc/gcov.c +++ b/gcc/gcov.c @@ -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); } } -- cgit v1.2.1