Browse Source

hcho: G_open_option_file(): message read => open
(merge https://trac.osgeo.org/grass/changeset/60539 from trunk)


git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@60743 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 11 years ago
parent
commit
f8623f95cf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/gis/parser.c

+ 1 - 1
lib/gis/parser.c

@@ -1514,7 +1514,7 @@ FILE *G_open_option_file(const struct Option *option)
 	if (stdinout)
 	    fp = stdin;
 	else if ((fp = fopen(option->answer, "r")) == NULL)
-	    G_fatal_error(_("Unable to read %s file <%s>"),
+	    G_fatal_error(_("Unable to open %s file <%s>"),
 			    option->key, option->answer);
     } else if (strcmp(option->gisprompt, "new,file,file") == 0) {
 	if (stdinout)