copy: fix my typo
authorJim Meyering <meyering@redhat.com>
Tue, 3 May 2011 08:23:12 +0000 (10:23 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 3 May 2011 08:24:18 +0000 (10:24 +0200)
* src/copy.c (copy_reg): Fix my typo (mis-applied patch).
The patch by Jeff Liu was fine, but I mis-applied it
and introduced a compilation error in commit efa479c1.

2011-05-03  Jim Meyering  <meyering@redhat.com>

src/copy.c

index 186086e..801a474 100644 (file)
@@ -975,7 +975,7 @@ copy_reg (char const *src_name, char const *dst_name,
           if (!clone_ok)
             {
               error (0, errno, _("failed to clone %s from %s"),
-                     quote_n (0, dst_name), quote_1 (1, src_name));
+                     quote_n (0, dst_name), quote_n (1, src_name));
               return_val = false;
               goto close_src_and_dst_desc;
             }