forked from Bananymous/banan-os
LibC: fputs uses fputc instead of putc
This commit is contained in:
parent
0129619d9a
commit
481c8406f3
|
@ -225,7 +225,7 @@ int fputs(const char* str, FILE* file)
|
|||
{
|
||||
while (*str)
|
||||
{
|
||||
if (putc(*str, file) == EOF)
|
||||
if (fputc(*str, file) == EOF)
|
||||
return EOF;
|
||||
str++;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue