瀏覽代碼

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 年之前
父節點
當前提交
f8623f95cf
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)