Remove redundant close(2).
Submitted by: kensmith Approved by: rwatson (mentor)
This commit is contained in:
parent
8de8f265b6
commit
70583fbb77
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=182889
@ -224,7 +224,6 @@ copy_file(const FTSENT *entp, int dne)
|
||||
rval = 1;
|
||||
if (pflag && preserve_fd_acls(from_fd, to_fd) != 0)
|
||||
rval = 1;
|
||||
(void)close(from_fd);
|
||||
if (close(to_fd)) {
|
||||
warn("%s", to.p_path);
|
||||
rval = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user