Skip to contentSkip to conversation

UDF: fix function name from udf_crc16 to udf_crc

PATCH New Cyrill Gorcunov 1 participant 1 message Jun 29, 2007 UDF filesystem

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 UDF: fix function name from udf_crc16 to udf_crc

We have to change udf_crc16() name to udf_crc()
to be able to play with CRC test.

---

 fs/udf/crc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
fs/udf/crc.c +2 -2
index 490aebe..85aaee5 100644
@@ -105,8 +105,8 @@ int main(void)
 {
 	unsigned short x;
 
-	x = udf_crc16(bytes, sizeof bytes);
-	printf("udf_crc16: calculated = %4.4x, correct = %4.4x\n", x, 0x3299U);
+	x = udf_crc(bytes, sizeof bytes);
+	printf("udf_crc: calculated = %4.4x, correct = %4.4x\n", x, 0x3299U);
 
 	return 0;
 }