summaryrefslogtreecommitdiff
path: root/src/basic/copy.c
diff options
context:
space:
mode:
authorTorstein Husebø <torstein@huseboe.net>2016-07-10 14:48:23 +0200
committerTorstein Husebø <torstein@huseboe.net>2016-07-11 16:18:43 +0200
commit61233823aa4b0fe9605e0a7cd77261b3c5bca8e9 (patch)
tree1028bd5ea783209d44aefa0acacd277d2dea44ab /src/basic/copy.c
parentd6cdc4cd4b58cfff4b44e1201e54f05b4a38d2d4 (diff)
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);
}