mirror of
git://git.sv.gnu.org/coreutils
synced 2026-06-04 14:55:00 -04:00
(copy_reg): Give a slightly better diagnostic.
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user