aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r--gcc/cppmain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c
index 0d42729..bab1ff6 100644
--- a/gcc/cppmain.c
+++ b/gcc/cppmain.c
@@ -89,7 +89,7 @@ cpp_preprocess_file (pfile)
print.outf = fopen (options->out_fname, "w");
if (print.outf == NULL)
{
- cpp_notice_from_errno (pfile, options->out_fname);
+ cpp_errno (pfile, DL_ERROR, options->out_fname);
return;
}
}
@@ -120,7 +120,7 @@ cpp_preprocess_file (pfile)
if (print.outf != stdout)
{
if (ferror (print.outf) || fclose (print.outf))
- cpp_notice_from_errno (pfile, options->out_fname);
+ cpp_errno (pfile, DL_ERROR, options->out_fname);
}
}