(copy_reg): Give a slightly better diagnostic.

This commit is contained in:
Jim Meyering
2000-06-16 12:47:36 +00:00
parent 90d6a55246
commit 2795faa36f
+1 -1
View File
@@ -188,7 +188,7 @@ copy_reg (const char *src_path, const char *dst_path,
error (0, 0, _("`%s' and `%s' are the same file"),
src_path, dst_path);
else
error (0, errno, "%s", src_path);
error (0, errno, _("cannot open `%s' for reading"), src_path);
return -1;
}