diff options
Diffstat (limited to 'lib/libc/stdio/fgetwc.c')
| -rw-r--r-- | lib/libc/stdio/fgetwc.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdio/fgetwc.c b/lib/libc/stdio/fgetwc.c index 719556ad9e1f..3a5b09b9ae7b 100644 --- a/lib/libc/stdio/fgetwc.c +++ b/lib/libc/stdio/fgetwc.c @@ -71,7 +71,7 @@ __fgetwc(FILE *fp)  		return (wc);  	}  	do { -		nconv = __mbrtowc(&wc, fp->_p, fp->_r, &fp->_extra->mbstate); +		nconv = __mbrtowc(&wc, fp->_p, fp->_r, &fp->_mbstate);  		if (nconv == (size_t)-1)  			break;  		else if (nconv == (size_t)-2)  | 
