From 52458cfa8c79a9eacb81e151e15cdeff04b75d37 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Mon, 11 Apr 2011 01:52:23 -0400 Subject: fix fputwc return value --- src/stdio/fputwc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/stdio/fputwc.c b/src/stdio/fputwc.c index 292a53fb..45ea8c23 100644 --- a/src/stdio/fputwc.c +++ b/src/stdio/fputwc.c @@ -25,7 +25,7 @@ wint_t fputwc(wchar_t c, FILE *f) FLOCK(f); c = __fputwc_unlocked(c, f); FUNLOCK(f); - return 0; + return c; } weak_alias(__fputwc_unlocked, fputwc_unlocked); -- cgit v1.2.1