diff options
author | Steve French <smfrench@austin.rr.com> | 2005-04-28 22:41:06 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-28 22:41:06 -0700 |
commit | 6c91d362f1e1ebbd4513adb68fc79d552c11e2c0 (patch) | |
tree | b86a48f6a44cd924684aa5efc55b2760e2365f78 /fs/cifs/cifs_unicode.c | |
parent | d14537f103bf746ca766f739f9f5a5bf7a8b4806 (diff) | |
download | lwn-6c91d362f1e1ebbd4513adb68fc79d552c11e2c0.tar.gz lwn-6c91d362f1e1ebbd4513adb68fc79d552c11e2c0.zip |
[PATCH] cifs: finish up of special character mapping capable unicode conversion routine part 2 of 3
Signed-off-by: Steve French (sfrench@us.ibm.com)
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
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 a17adf4cb9ba..99a096d3f84d 100644 --- a/fs/cifs/cifs_unicode.c +++ b/fs/cifs/cifs_unicode.c @@ -76,8 +76,8 @@ cifs_strtoUCS(wchar_t * to, const char *from, int len, charlen)); to[i] = cpu_to_le16(0x003f); /* a question mark */ charlen = 1; - } - to[i] = cpu_to_le16(to[i]); + } else + to[i] = cpu_to_le16(to[i]); } |