fix fputwc return value

This commit is contained in:
Rich Felker 2011-04-11 01:52:23 -04:00
parent 0161244784
commit 52458cfa8c
1 changed files with 1 additions and 1 deletions

View File

@ -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);