diff options
author | Steve French <sfrench@us.ibm.com> | 2007-04-04 17:10:24 (GMT) |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-04-04 17:10:24 (GMT) |
commit | 3a9f462f6d07ab6f26a347120e173e945139befd (patch) | |
tree | 583d14dd994aa64b40f64770ff1b8e3b0f787f44 /fs/cifs/cifs_unicode.c | |
parent | aaf737adb6937339494d5a7111f0433cd9676db8 (diff) | |
download | linux-fsl-qoriq-3a9f462f6d07ab6f26a347120e173e945139befd.tar.xz |
[CIFS] Remove unnecessary parm to cifs_reopen_file
Also expand debug entry to show which character on a failed Unicode
mapping.
Acked-by: Shaggy <shaggy@us.ibm.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifs_unicode.c')
-rw-r--r-- | fs/cifs/cifs_unicode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/cifs/cifs_unicode.c b/fs/cifs/cifs_unicode.c index d2a8b29..793c4b9 100644 --- a/fs/cifs/cifs_unicode.c +++ b/fs/cifs/cifs_unicode.c @@ -74,8 +74,8 @@ cifs_strtoUCS(__le16 * to, const char *from, int len, charlen = codepage->char2uni(from, len, &wchar_to[i]); if (charlen < 1) { cERROR(1, - ("cifs_strtoUCS: char2uni returned %d", - charlen)); + ("strtoUCS: char2uni of %d returned %d", + (int)*from, charlen)); /* A question mark */ to[i] = cpu_to_le16(0x003f); charlen = 1; |