LibC: fputs uses fputc instead of putc

This commit is contained in:
Bananymous 2023-05-28 16:25:26 +03:00
parent 0129619d9a
commit 481c8406f3
1 changed files with 1 additions and 1 deletions

View File

@ -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++;
}