diff options
author | Jim Meyering <jim@meyering.net> | 2003-06-19 22:01:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-06-19 22:01:47 +0000 |
commit | 5fe0d2293d45747ca56b02ff5b3b2991c9aa83df (patch) | |
tree | 9b5d1594a5be0916e08e7a03ce45b00e92285916 /src | |
parent | 3dade2468112018471156cfd215ee25fbc8d637b (diff) | |
download | coreutils-5fe0d2293d45747ca56b02ff5b3b2991c9aa83df.tar.xz |
(copy_internal) [HAVE_STRUCT_STAT_ST_AUTHOR]:
Use `error_t' (rather than int) as type for local `err'.
Diffstat (limited to 'src')
-rw-r--r-- | src/copy.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |