summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorDavid Xu <davidxu@FreeBSD.org>2004-04-10 14:36:57 +0000
committerDavid Xu <davidxu@FreeBSD.org>2004-04-10 14:36:57 +0000
commit6464650388e14d2c44a47775a44959ba1b737f92 (patch)
tree5dc9fc2cef2fa90958ee58085134984da2342936 /lib/libc
parent4ddd1e65d42cd3568a774e956752719b5200acd3 (diff)
Notes
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/locale/gb2312.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/locale/gb2312.c b/lib/libc/locale/gb2312.c
index 35b486393386..70725d9cdcb6 100644
--- a/lib/libc/locale/gb2312.c
+++ b/lib/libc/locale/gb2312.c
@@ -100,7 +100,7 @@ _GB2312_mbrtowc(wchar_t * __restrict pwc, const char * __restrict s, size_t n,
int i, len, ocount;
size_t ncopy;
- gs = (_GB2312State *)gs;
+ gs = (_GB2312State *)ps;
if (s == NULL) {
s = "";