X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fcrc%2F_info;h=7812f212d445a1683dd042c632091209d64f3682;hp=c505a2b63987f1643c3fd7c5cb3b95a8ff949d14;hb=18636637ee013ef828cb04b2b7bb4a4922324475;hpb=b1801a00c945b67d8c218edd9e13dc483a60ac70 diff --git a/ccan/crc/_info b/ccan/crc/_info index c505a2b6..7812f212 100644 --- a/ccan/crc/_info +++ b/ccan/crc/_info @@ -11,7 +11,7 @@ * detect a single error burst of up to 32 bits. * * Example: - * #include + * #include * #include * #include * @@ -22,7 +22,7 @@ * "Prints 32 bit CRC of the string\n", argv[0]); * exit(1); * } - * printf("0x%08x\n", crc32c(argv[1], strlen(argv[1]))); + * printf("0x%08x\n", crc32c(0, argv[1], strlen(argv[1]))); * exit(0); * } *