summaryrefslogtreecommitdiff
path: root/src/basic/copy.c
diff options
context:
space:
mode:
authorMichael Biebl <mbiebl@gmail.com>2016-07-12 02:47:25 +0200
committerGitHub <noreply@github.com>2016-07-12 02:47:25 +0200
commite18ec3c71d6450de898cd46e659b560e18ee8430 (patch)
tree1028bd5ea783209d44aefa0acacd277d2dea44ab /src/basic/copy.c
parentd6cdc4cd4b58cfff4b44e1201e54f05b4a38d2d4 (diff)
parent61233823aa4b0fe9605e0a7cd77261b3c5bca8e9 (diff)
Merge pull request #3702 from torstehu/fix-typo
treewide: fix typos and remove accidental repetition of words
Diffstat (limited to 'src/basic/copy.c')
-rw-r--r--src/basic/copy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/basic/copy.c b/src/basic/copy.c
index c3586728d0..9883f5fa31 100644
--- a/src/basic/copy.c
+++ b/src/basic/copy.c
@@ -169,7 +169,7 @@ int copy_bytes(int fdf, int fdt, uint64_t max_bytes, bool try_reflink) {
/* sendfile accepts at most SSIZE_MAX-offset bytes to copy,
* so reduce our maximum by the amount we already copied,
* but don't go below our copy buffer size, unless we are
- * close the the limit of bytes we are allowed to copy. */
+ * close the limit of bytes we are allowed to copy. */
m = MAX(MIN(COPY_BUFFER_SIZE, max_bytes), m - n);
}