summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-05-03 10:23:12 +0200
committerJim Meyering <meyering@redhat.com>2011-05-03 10:24:18 +0200
commit47ef7504dab60f04b79e1c50f533ecd689d28598 (patch)
treede855b14676d58549441b1058dbe0680672d41b7
parent4b28ff7f32b1131c3a2e2fc560db32794b592d99 (diff)
downloadcoreutils-47ef7504dab60f04b79e1c50f533ecd689d28598.tar.xz
copy: fix my typo
* 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>
-rw-r--r--src/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/copy.c b/src/copy.c
index 186086ebd..801a47433 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -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;
}