From 5fe0d2293d45747ca56b02ff5b3b2991c9aa83df Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 19 Jun 2003 22:01:47 +0000 Subject: (copy_internal) [HAVE_STRUCT_STAT_ST_AUTHOR]: Use `error_t' (rather than int) as type for local `err'. --- src/copy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/copy.c') 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)); -- cgit v1.2.3-54-g00ecf