]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] crc32.c typo fix
authorDominik Hackl <dominik@hackl.dhs.org>
Sun, 7 Aug 2005 16:42:53 +0000 (09:42 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 7 Aug 2005 17:00:40 +0000 (10:00 -0700)
This patch fixes a typo in lib/crc32.c which results in incorrect debug
output.

Signed-off-by: Dominik Hackl <dominik@hackl.dhs.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
lib/crc32.c

index 58b222783f9c926049826b90f222d91d8b94578f..065198f98b3f5fc3aebb16ed8b9b81749ec8f741 100644 (file)
@@ -473,7 +473,7 @@ static u32 test_step(u32 init, unsigned char *buf, size_t len)
        init = bitreverse(init);
        crc2 = bitreverse(crc1);
        if (crc1 != bitreverse(crc2))
-               printf("\nBit reversal fail: 0x%08x -> %0x08x -> 0x%08x\n",
+               printf("\nBit reversal fail: 0x%08x -> 0x%08x -> 0x%08x\n",
                       crc1, crc2, bitreverse(crc2));
        crc1 = crc32_le(init, buf, len);
        if (crc1 != crc2)