summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-06-16 12:47:36 +0000
committerJim Meyering <jim@meyering.net>2000-06-16 12:47:36 +0000
commit2795faa36f50b3209005e991f85c19a4e4f8e840 (patch)
tree550f62811e3a9a4b65d7f7f165cea1dcf0f5b882 /src
parent90d6a55246b5437b910b803f7e9d1c2f474dc8ce (diff)
downloadcoreutils-2795faa36f50b3209005e991f85c19a4e4f8e840.tar.xz
(copy_reg): Give a slightly better diagnostic.
Diffstat (limited to 'src')
-rw-r--r--src/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/copy.c b/src/copy.c
index 32f5e5bdc..8c0607f40 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -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;
}