diff options
Diffstat (limited to 'coreutils/md5_sha1_sum.c')
-rw-r--r-- | coreutils/md5_sha1_sum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/md5_sha1_sum.c b/coreutils/md5_sha1_sum.c index 633b6e534..eeee18449 100644 --- a/coreutils/md5_sha1_sum.c +++ b/coreutils/md5_sha1_sum.c | |||
@@ -71,7 +71,7 @@ static uint8_t *hash_file(const char *filename, hash_algo_t hash_algo) | |||
71 | bb_error_msg_and_die("algorithm not supported"); | 71 | bb_error_msg_and_die("algorithm not supported"); |
72 | } | 72 | } |
73 | 73 | ||
74 | while (0 < (count = read(src_fd, in_buf, sizeof in_buf))) { | 74 | while (0 < (count = read(src_fd, in_buf, 4096))) { |
75 | update(in_buf, count, &context); | 75 | update(in_buf, count, &context); |
76 | } | 76 | } |
77 | 77 | ||