copy: correct misuse of quote in diagnostic

* src/copy.c (copy_reg): Multiple uses of quote (s) in an
argument list is erroneous.  Use quote_n, instead.
This commit is contained in:
Jeff Liu authored and Jim Meyering committed 2011-05-03 10:15:13 +02:00
1 parent b83d289685
commit efa479c1e5
1 file changed
+1 -1
+1 -1
View File
@@ -975,7 +975,7 @@ copy_reg (char const *src_name, char const *dst_name,
if (!clone_ok) if (!clone_ok)
{ {
error (0, errno, _("failed to clone %s from %s"), error (0, errno, _("failed to clone %s from %s"),
quote (dst_name), quote (src_name)); quote_n (0, dst_name), quote_1 (1, src_name));
return_val = false; return_val = false;
goto close_src_and_dst_desc; goto close_src_and_dst_desc;
} }