Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/libc/stdio/fputws.c')
-rw-r--r--newlib/libc/stdio/fputws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/stdio/fputws.c b/newlib/libc/stdio/fputws.c
index a9ac9d6d7..d6963837b 100644
--- a/newlib/libc/stdio/fputws.c
+++ b/newlib/libc/stdio/fputws.c
@@ -143,7 +143,7 @@ error:
goto error;
while (i < nbytes)
{
- if (__sputc_r (ptr, buf[i], fp) == EOF)
+ if (__swputc_r (ptr, buf[i], fp) == EOF)
goto error;
i++;
}