summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2004-04-10 14:36:57 +0000
committerdavidxu <davidxu@FreeBSD.org>2004-04-10 14:36:57 +0000
commit289170412bf399771e66aadff6604258e0f85a65 (patch)
tree5dc9fc2cef2fa90958ee58085134984da2342936 /lib
parent74cb325f5e515443d84da3371f8da283a5b8aaa9 (diff)
downloadFreeBSD-src-289170412bf399771e66aadff6604258e0f85a65.zip
FreeBSD-src-289170412bf399771e66aadff6604258e0f85a65.tar.gz
Fix a typo. I was locked out for two days from my machine.
Diffstat (limited to 'lib')
-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 35b4863..70725d9 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 = "";
OpenPOWER on IntegriCloud