From: Jim Meyering Date: Thu, 19 Jun 2003 22:01:47 +0000 (+0000) Subject: (copy_internal) [HAVE_STRUCT_STAT_ST_AUTHOR]: X-Git-Tag: v5.0.1~189 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fe0d2293d45747ca56b02ff5b3b2991c9aa83df;p=thirdparty%2Fcoreutils.git (copy_internal) [HAVE_STRUCT_STAT_ST_AUTHOR]: Use `error_t' (rather than int) as type for local `err'. --- diff --git a/src/copy.c b/src/copy.c index edc05fec17..c09ef89439 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));