]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(copy_internal) [HAVE_STRUCT_STAT_ST_AUTHOR]:
authorJim Meyering <jim@meyering.net>
Thu, 19 Jun 2003 22:01:47 +0000 (22:01 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 19 Jun 2003 22:01:47 +0000 (22:01 +0000)
Use `error_t' (rather than int) as type for local `err'.

src/copy.c

index edc05fec177abd79f91848f729099552053f1290..c09ef8943990217f8d8869fc523022a35d9ded77 100644 (file)
@@ -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));