mirror of
https://gitlab.com/sortix/sortix.git
synced 2023-02-13 20:55:38 -05:00
Fix incorrect flush error check in fputc_unlocked(3).
This commit is contained in:
parent
1acf16dea0
commit
ef36a94912
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ extern "C" int fputc_unlocked(int c, FILE* fp)
|
||||||
|
|
||||||
if ( fp->amount_output_buffered == fp->buffersize )
|
if ( fp->amount_output_buffered == fp->buffersize )
|
||||||
{
|
{
|
||||||
if ( !fflush_unlocked(fp) == EOF )
|
if ( fflush_unlocked(fp) == EOF )
|
||||||
return EOF;
|
return EOF;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue