Skip to content
Snippets Groups Projects
Commit 5e52722a authored by fxcoudert's avatar fxcoudert
Browse files

* io/open.c (edit_modes): Correct abusive copy-pasting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111266 138bc75d-0d04-0410-961f-82ee72b054a4
parent 8fc24c57
No related branches found
No related tags found
No related merge requests found
2006-02-19 Francois-Xavier Coudert <coudert@clipper.ens.fr>
* io/open.c (edit_modes): Correct abusive copy-pasting.
2006-02-16 Francois-Xavier Coudert <coudert@clipper.ens.fr>
PR libfortran/24903
......
......@@ -146,7 +146,7 @@ edit_modes (st_parameter_open *opp, gfc_unit * u, unit_flags * flags)
generate_error (&opp->common, ERROR_BAD_OPTION,
"Cannot change RECL parameter in OPEN statement");
if (flags->action != ACTION_UNSPECIFIED && u->flags.access != flags->access)
if (flags->action != ACTION_UNSPECIFIED && u->flags.action != flags->action)
generate_error (&opp->common, ERROR_BAD_OPTION,
"Cannot change ACTION parameter in OPEN statement");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment