(copy_internal) [HAVE_STRUCT_STAT_ST_AUTHOR]:

Use `error_t' (rather than int) as type for local `err'.
This commit is contained in:
Jim Meyering committed 2003-06-19 22:01:47 +00:00
1 parent 3dade24681
commit 5fe0d2293d
1 file changed
+1 -1
+1 -1
View 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));