mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-05 08:03:59 +03:00
(copy_reg): Give a slightly better diagnostic.
This commit is contained in:
@@ -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