summaryrefslogtreecommitdiff
path: root/src/copy.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/copy.c')
-rw-r--r--src/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/copy.c b/src/copy.c
index edc05fec1..c09ef8943 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -1566,7 +1566,7 @@ copy_internal (const char *src_path, const char *dst_path,
error (0, errno, _("failed to lookup file %s"), quote (dst_path));
else
{
- int err = file_chauthor (file, src_sb.st_author);
+ error_t err = file_chauthor (file, src_sb.st_author);
if (err)
error (0, err, _("failed to preserve authorship for %s"),
quote (dst_path));