projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
608e261
)
UDF: fix function name from udf_crc16 to udf_crc
author
Cyrill Gorcunov
<
[email protected]
>
Mon, 16 Jul 2007 06:41:40 +0000
(23:41 -0700)
committer
Linus Torvalds
<
[email protected]
>
Mon, 16 Jul 2007 16:05:51 +0000
(09:05 -0700)
We have to change udf_crc16() name to udf_crc() to be able to play with CRC
test.
Signed-off-by: Cyrill Gorcunov <
[email protected]
>
Cc: Jan Kara <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
fs/udf/crc.c
patch
|
blob
|
history
diff --git
a/fs/udf/crc.c
b/fs/udf/crc.c
index 1b82a4adc2f7594ae11cc9151200be3135449f8d..ef2bfaa19d75be46edff821d6db7fbc604f248e3 100644
(file)
--- a/
fs/udf/crc.c
+++ b/
fs/udf/crc.c
@@
-106,8
+106,8
@@
int main(void)
{
unsigned short x;
- x = udf_crc
16
(bytes, sizeof bytes);
- printf("udf_crc
16
: 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;
}