X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fcrc%2F_info;h=7812f212d445a1683dd042c632091209d64f3682;hb=1fe7f55b1efc5deefb20815a03b56c8ef0f6dc53;hp=c505a2b63987f1643c3fd7c5cb3b95a8ff949d14;hpb=86b394d9b48fb29053347cde1336e819187ea93b;p=ccan 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); * } *