summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index 6ef7ba7f..acc43ab9 100644
--- a/util.c
+++ b/util.c
@@ -197,7 +197,7 @@ copy_fd(int fd_in, int fd_out)
}
int n;
- char buf[10240];
+ char buf[READ_BUF_SZ];
while ((n = gzread(gz_in, buf, sizeof(buf))) > 0) {
ssize_t written = 0;
do {
@@ -297,7 +297,7 @@ copy_file(const char *src, const char *dest, int compress_level)
}
int n;
- char buf[10240];
+ char buf[READ_BUF_SZ];
while ((n = gzread(gz_in, buf, sizeof(buf))) > 0) {
int written;
if (compress_level > 0) {