Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cb7ae262 authored by Anish Bhatt's avatar Anish Bhatt Committed by Linus Torvalds
Browse files

include/linux/zutil.h: fix usage example of zlib_adler32()



alder32 was renamed to zlib_adler32 since before 2.6.11.

Signed-off-by: default avatarAnish Bhatt <anish@chelsio.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 08d78658
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -68,10 +68,10 @@ typedef uLong (*check_func) (uLong check, const Byte *buf,
   An Adler-32 checksum is almost as reliable as a CRC32 but can be computed
   much faster. Usage example:

     uLong adler = adler32(0L, NULL, 0);
     uLong adler = zlib_adler32(0L, NULL, 0);

     while (read_buffer(buffer, length) != EOF) {
       adler = adler32(adler, buffer, length);
       adler = zlib_adler32(adler, buffer, length);
     }
     if (adler != original_adler) error();
*/