summaryrefslogtreecommitdiff
path: root/gcc/f
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/f')
-rw-r--r--gcc/f/ChangeLog6
-rw-r--r--gcc/f/com.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/f/ChangeLog b/gcc/f/ChangeLog
index 94d1eb10780..c016f31901e 100644
--- a/gcc/f/ChangeLog
+++ b/gcc/f/ChangeLog
@@ -1,3 +1,9 @@
+2003-05-13 Zack Weinberg <zack@codesourcery.com>
+
+ * com.c: Replace all calls to fatal_io_error with calls to
+ fatal_error; add ": %m" to the end of all the affected error
+ messages.
+
2003-05-12 Zack Weinberg <zack@codesourcery.com>
* bad.c: Don't call diagnostic_count_diagnostic.
diff --git a/gcc/f/com.c b/gcc/f/com.c
index bb093e3b201..951ef448d4b 100644
--- a/gcc/f/com.c
+++ b/gcc/f/com.c
@@ -14269,7 +14269,7 @@ ffe_post_options (pfilename)
finput = fopen (filename, "r");
if (finput == 0)
- fatal_io_error ("can't open %s", filename);
+ fatal_error ("can't open %s: %m", filename);
return false;
}