diff options
Diffstat (limited to 'gcc/fortran/cpp.c')
-rw-r--r-- | gcc/fortran/cpp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/fortran/cpp.c b/gcc/fortran/cpp.c index 6361085..8dbd157 100644 --- a/gcc/fortran/cpp.c +++ b/gcc/fortran/cpp.c @@ -523,7 +523,8 @@ gfc_cpp_init_0 (void) print.outf = fopen (gfc_cpp_option.output_filename, "w"); if (print.outf == NULL) gfc_fatal_error ("opening output file %s: %s", - gfc_cpp_option.output_filename, strerror(errno)); + gfc_cpp_option.output_filename, + xstrerror (errno)); } else print.outf = stdout; @@ -533,7 +534,7 @@ gfc_cpp_init_0 (void) print.outf = fopen (gfc_cpp_option.temporary_filename, "w"); if (print.outf == NULL) gfc_fatal_error ("opening output file %s: %s", - gfc_cpp_option.temporary_filename, strerror(errno)); + gfc_cpp_option.temporary_filename, xstrerror (errno)); } gcc_assert(cpp_in); |