瀏覽代碼

G_open_option_file(): message read => open

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@60539 15284696-431f-4ddb-bdfa-cd5b030d7da7
Huidae Cho 11 年之前
父節點
當前提交
6ec702cb42
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/gis/parser.c

+ 1 - 1
lib/gis/parser.c

@@ -1512,7 +1512,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)