diff --git a/bin/cp/utils.c b/bin/cp/utils.c index 7742b0d0a516..e7ae0c9dd733 100644 --- a/bin/cp/utils.c +++ b/bin/cp/utils.c @@ -235,7 +235,7 @@ copy_file(const FTSENT *entp, int dne) do { if (use_copy_file_range) { rcount = copy_file_range(from_fd, NULL, - to_fd, NULL, SSIZE_MAX, 0); + to_fd, NULL, SSIZE_MAX, 0); if (rcount < 0 && errno == EINVAL) { /* Prob a non-seekable FD */ use_copy_file_range = 0;