From 289170412bf399771e66aadff6604258e0f85a65 Mon Sep 17 00:00:00 2001 From: davidxu Date: Sat, 10 Apr 2004 14:36:57 +0000 Subject: Fix a typo. I was locked out for two days from my machine. --- lib/libc/locale/gb2312.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 = ""; -- cgit v1.1