diff options
author | Zack Weinberg <zack@codesourcery.com> | 2003-05-13 18:06:52 +0000 |
---|---|---|
committer | Zack Weinberg <zack@gcc.gnu.org> | 2003-05-13 18:06:52 +0000 |
commit | fa6ef81367f0c24ec0b04e753313cdb023e10217 (patch) | |
tree | fd24969394b3b9dffb1cc037cebd35f54276e5b8 /gcc/graph.c | |
parent | 3bec3c0c9cadc98f39f7072cb77a1c1b90ada59b (diff) | |
download | gcc-fa6ef81367f0c24ec0b04e753313cdb023e10217.tar.gz |
diagnostic.c (output_format): Add support for %m.
* diagnostic.c (output_format): Add support for %m.
(output_printf, output_verbatim, diagnostic_set_info,
verbatim): Set err_no field of the text_info structure being
initialized.
(fatal_io_error): Delete function.
* diagnostic.h (text_info): Add err_no field.
* toplev.h (fatal_io_error): Delete prototype.
* c-opts.c, c-pch.c, dwarfout.c, ggc-common.c, ggc-page.c, graph.c
* toplev.c, config/mips/mips.c, config/rs6000/host-darwin.c
* f/com.c, java/jcf-parse.c, java/jcf-write.c, java/lex.c
* objc/objc-act.c: Replace all calls to fatal_io_error with
calls to fatal_error; add ": %m" to the end of all the affected
error messages.
From-SVN: r66769
Diffstat (limited to 'gcc/graph.c')
-rw-r--r-- | gcc/graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/graph.c b/gcc/graph.c index e56ef93809f..5b660be00df 100644 --- a/gcc/graph.c +++ b/gcc/graph.c @@ -419,7 +419,7 @@ clean_graph_dump_file (base, suffix) fp = fopen (buf, "w"); if (fp == NULL) - fatal_io_error ("can't open %s", buf); + fatal_error ("can't open %s: %m", buf); switch (graph_dump_format) { |