]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(copy_reg): Give a slightly better diagnostic.
authorJim Meyering <jim@meyering.net>
Fri, 16 Jun 2000 12:47:36 +0000 (12:47 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 16 Jun 2000 12:47:36 +0000 (12:47 +0000)
src/copy.c

index 32f5e5bdc06ac0bdbc570831347065152692b281..8c0607f401e09512699f7c2dd7164f88bfc32217 100644 (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;
     }