1
0
Fork 0
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:
Jonas 'Sortie' Termansen 2015-11-22 00:32:43 +01:00
parent 1acf16dea0
commit ef36a94912

View file

@ -53,7 +53,7 @@ extern "C" int fputc_unlocked(int c, FILE* fp)
if ( fp->amount_output_buffered == fp->buffersize )
{
if ( !fflush_unlocked(fp) == EOF )
if ( fflush_unlocked(fp) == EOF )
return EOF;
}