summaryrefslogtreecommitdiff
path: root/Userland/cp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/cp.cpp')
-rw-r--r--Userland/cp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/cp.cpp b/Userland/cp.cpp
index d2e12e0153..93e1db6cd3 100644
--- a/Userland/cp.cpp
+++ b/Userland/cp.cpp
@@ -95,7 +95,7 @@ bool copy_file(String src_path, String dst_path, struct stat src_stat, int src_f
}
for (;;) {
- char buffer[BUFSIZ];
+ char buffer[32768];
ssize_t nread = read(src_fd, buffer, sizeof(buffer));
if (nread < 0) {
perror("read src");