X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbasic%2Fcopy.c;h=4e5f392fe59fdc8b7a74bbdb84ea482a117f916d;hp=66279cf920262eca95a377f1ebab92b618672b17;hb=a683e1878913969ccf8b0defdec4d955e15ed75a;hpb=c733f9b08d9eadc5e671185112567ada81116bdf diff --git a/src/basic/copy.c b/src/basic/copy.c index 66279cf92..4e5f392fe 100644 --- a/src/basic/copy.c +++ b/src/basic/copy.c @@ -170,7 +170,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); }