summaryrefslogtreecommitdiff
path: root/src/copy.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2003-06-19 22:01:47 +0000
committerJim Meyering <jim@meyering.net>2003-06-19 22:01:47 +0000
commit5fe0d2293d45747ca56b02ff5b3b2991c9aa83df (patch)
tree9b5d1594a5be0916e08e7a03ce45b00e92285916 /src/copy.c
parent3dade2468112018471156cfd215ee25fbc8d637b (diff)
downloadcoreutils-5fe0d2293d45747ca56b02ff5b3b2991c9aa83df.tar.xz
(copy_internal) [HAVE_STRUCT_STAT_ST_AUTHOR]:
Use `error_t' (rather than int) as type for local `err'.
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));