This commit is contained in:
LinlyBoi
2023-08-21 14:40:34 +03:00
parent 0b561ac266
commit 9d491f4873

View File

@@ -54,6 +54,6 @@ int _printf(const char *format, ...)
fmt_idx++; fmt_idx++;
} }
} }
write(1, buffer, BUFF_SIZE); write(1, buffer, BUFF_SIZE + 1);
return (_strlen(buffer)); return (_strlen(buffer));
} }