summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/fputws.c
diff options
context:
space:
mode:
authorTim J. Robbins <tjr@FreeBSD.org>2002-09-18 05:58:11 +0000
committerTim J. Robbins <tjr@FreeBSD.org>2002-09-18 05:58:11 +0000
commit24990dfad088db7073e30b8870d62366fb510cd3 (patch)
tree89b31678132bc76b873bf1bba095a04aa70ff775 /lib/libc/stdio/fputws.c
parent11142c6f5488b60ab8109f8a90f2294266758078 (diff)
Notes
Diffstat (limited to 'lib/libc/stdio/fputws.c')
-rw-r--r--lib/libc/stdio/fputws.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libc/stdio/fputws.c b/lib/libc/stdio/fputws.c
index 312d02a581fc..254b4f9de191 100644
--- a/lib/libc/stdio/fputws.c
+++ b/lib/libc/stdio/fputws.c
@@ -29,7 +29,6 @@ __FBSDID("$FreeBSD$");
#include "namespace.h"
#include <errno.h>
-#include <rune.h>
#include <stdio.h>
#include <wchar.h>
#include "un-namespace.h"
@@ -44,7 +43,7 @@ fputws(const wchar_t * __restrict ws, FILE * __restrict fp)
/* XXX Inefficient */
while (*ws != '\0')
- if (fputrune((rune_t)*ws++, fp) == EOF)
+ if (fputwc(*ws++, fp) == WEOF)
return (-1);
return (0);