mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(copy_internal) [HAVE_STRUCT_STAT_ST_AUTHOR]:
Use `error_t' (rather than int) as type for local `err'.
This commit is contained in:
1 parent
3dade24681
commit
5fe0d2293d
1 file changed
+1
-1
+1
-1
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user