From 30f0ea6cab956ed59ecc5de82459187763a2b868 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 13 Mar 2011 02:39:10 +0100 Subject: Apply post-1.18.3 fixes, bump version to 1.18.4 Signed-off-by: Denys Vlasenko --- coreutils/cksum.c | 1 + 1 file changed, 1 insertion(+) (limited to 'coreutils/cksum.c') diff --git a/coreutils/cksum.c b/coreutils/cksum.c index 7a37e6add..53fb87a78 100644 --- a/coreutils/cksum.c +++ b/coreutils/cksum.c @@ -38,6 +38,7 @@ int cksum_main(int argc UNUSED_PARAM, char **argv) #define read_buf bb_common_bufsiz1 while ((bytes_read = safe_read(fd, read_buf, sizeof(read_buf))) > 0) { + length += bytes_read; crc = crc32_block_endian1(crc, read_buf, bytes_read, crc32_table); } close(fd); -- cgit v1.2.3-55-g6feb