Skip to content

Commit

Permalink
UDF: fix function name from udf_crc16 to udf_crc
Browse files Browse the repository at this point in the history
We have to change udf_crc16() name to udf_crc() to be able to play with CRC
test.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Jan Kara <jack@ucw.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Cyrill Gorcunov authored and Linus Torvalds committed Jul 16, 2007
1 parent 608e261 commit d375b97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fs/udf/crc.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,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;
}
Expand Down

0 comments on commit d375b97

Please sign in to comment.