Commit 2f04ba94 authored by Linus Torvalds's avatar Linus Torvalds

Merge http://jfs.bkbits.net/linux-2.5

into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents 53ef168a 2c58a71f
...@@ -78,7 +78,7 @@ int jfs_strfromUCS_le(char *to, const wchar_t * from, /* LITTLE ENDIAN */ ...@@ -78,7 +78,7 @@ int jfs_strfromUCS_le(char *to, const wchar_t * from, /* LITTLE ENDIAN */
* FUNCTION: Convert character string to unicode string * FUNCTION: Convert character string to unicode string
* *
*/ */
static int jfs_strtoUCS(wchar_t * to, const char *from, int len, static int jfs_strtoUCS(wchar_t * to, const unsigned char *from, int len,
struct nls_table *codepage) struct nls_table *codepage)
{ {
int charlen; int charlen;
...@@ -92,8 +92,7 @@ static int jfs_strtoUCS(wchar_t * to, const char *from, int len, ...@@ -92,8 +92,7 @@ static int jfs_strtoUCS(wchar_t * to, const char *from, int len,
jfs_err("jfs_strtoUCS: char2uni returned %d.", jfs_err("jfs_strtoUCS: char2uni returned %d.",
charlen); charlen);
jfs_err("charset = %s, char = 0x%x", jfs_err("charset = %s, char = 0x%x",
codepage->charset, codepage->charset, *from);
(unsigned char) *from);
return charlen; return charlen;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment