mirror of
https://git.musl-libc.org/git/musl
synced 2025-01-25 15:42:06 +03:00
fix fputwc return value
This commit is contained in:
parent
0161244784
commit
52458cfa8c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user