mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
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:
1 parent
b83d289685
commit
efa479c1e5
1 file changed
+1
-1
+1
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user