diff options
Diffstat (limited to 'libc/misc/wchar/wstdio.c')
-rw-r--r-- | libc/misc/wchar/wstdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/wchar/wstdio.c b/libc/misc/wchar/wstdio.c index b4ca4973f..55e7fef6b 100644 --- a/libc/misc/wchar/wstdio.c +++ b/libc/misc/wchar/wstdio.c @@ -289,7 +289,7 @@ UNLOCKED(wchar_t *,fgetws,(wchar_t *__restrict ws, int n, wint_t wi; while ((n > 1) - && ((wi = fgetwc_unlocked(stream)) != WEOF) + && ((wi = __fgetwc_unlocked(stream)) != WEOF) && ((*p++ = wi) != '\n') ) { --n; |