mirror of
https://github.com/fluencelabs/musl
synced 2025-06-30 15:11:55 +00:00
fix fputwc return value
This commit is contained in:
@ -25,7 +25,7 @@ wint_t fputwc(wchar_t c, FILE *f)
|
|||||||
FLOCK(f);
|
FLOCK(f);
|
||||||
c = __fputwc_unlocked(c, f);
|
c = __fputwc_unlocked(c, f);
|
||||||
FUNLOCK(f);
|
FUNLOCK(f);
|
||||||
return 0;
|
return c;
|
||||||
}
|
}
|
||||||
|
|
||||||
weak_alias(__fputwc_unlocked, fputwc_unlocked);
|
weak_alias(__fputwc_unlocked, fputwc_unlocked);
|
||||||
|
Reference in New Issue
Block a user