From: Jim Meyering Date: Fri, 16 Jun 2000 12:47:36 +0000 (+0000) Subject: (copy_reg): Give a slightly better diagnostic. X-Git-Tag: FILEUTILS-4_0v~95 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=2795faa36f50b3209005e991f85c19a4e4f8e840;p=thirdparty%2Fcoreutils.git (copy_reg): Give a slightly better diagnostic. --- diff --git a/src/copy.c b/src/copy.c index 32f5e5bdc0..8c0607f401 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; }