[PATCH 2.6.13-rc5] crc32.c typing error fix

From: Dominik Hackl
Date: Sun Aug 07 2005 - 02:54:15 EST




This patch fixes a typing error in lib/crc32.c which results in incorrect
debug output.


Signed-off-by: Dominik Hackl <dominik@xxxxxxxxxxxxx>



--- linux-2.6.13-rc5.orig/lib/crc32.c 2005-08-07 09:25:00.000000000 +0200
+++ linux-2.6.13-rc5/lib/crc32.c 2005-08-07 09:40:46.000000000 +0200
@@ -473,7 +473,7 @@ static u32 test_step(u32 init, unsigned
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)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/